Comments (5)
@githublyp 辛苦看一下
- 项目是从原先okam为0.3版本的项目中执行
okam upgrade project
升级的吗?(理论上这种情况下upgrade project 包版本是不会从0.3升为0.4只会升.3的小版本,你看看本地okam-build okam-core 的具体版本是多少?okam --version && npm ls okam-build okam-core
); - build过程中 或者 运行过程中有没有什么报错?
若是 0.3 升级到了 0.4 有两个 breakchange: 看看是否有用到下面两个 breakchange,改完能否解决问题? - 若用cli构建的项目,你选择的模板、脚本、样式语法分别是?是否有用到 tag 标签转换?
若上面不能解决,描述一下复现场景,方便的话可以给个问题的代码示例,我具体看看
from okam.
直接用okam init test之后,运行npm run dev:wx 打包之后生成wx_dist但是app.js 等放在src目录下;还有在app.less中@import其他样式的时候打包不报错,但是不会引入okam框架;也就是wx_dist/common/下没有okam等框架文件:
from okam.
本地 okam-cli 版本 确定是多少?okam init test 时候 各选项怎么选择的? 创建过程中有报错吗? 创建之后是按以下顺序执行吗?
cd xxx // xxx 替换成刚创建的项目路径
npm install // 此过程包安装是否成功?
npm run dev: wx // 此过程是否有报错?
你看看有没有稳定复现路径,我这边用okam-cli:0.1.0-beta.0
试了几下是正常的,方便的话 给个问题的代码示例
from okam.
from okam.
@githublyp 更新到 0.4.0-beta.1 再看下,我先把 issue 关闭,如有问题再打开,thks~
from okam.
Related Issues (20)
- was signed into my sons account
- App 脚本 app.js 配置时 文档里面 这样配置编译不通过,把globalData放到config 里面就不报错 HOT 4
- 误报,可以忽视,sorry
- 求支持v-前缀的兼容 HOT 1
- 配置项是正则表达式时merge函数会产生错误结果 HOT 1
- 模板中for循环可以正常使用,v-for不行
- 代码示例和线上项目收集 HOT 2
- template 中简写编译有误 HOT 1
- 如何使用 postcss 插件 HOT 2
- 内联样式当有逗号时编译错误 HOT 1
- 目前还在更新维护吗 HOT 3
- why would it called Okam? HOT 2
- vuex下通过mutation或action更新数据后,视图不更新 HOT 1
- 钉钉的小程序是怎么操作的? HOT 2
- ios下的input,@focus很慢,多个input 进行切换,状态不对
- okam框架中如何使用百度小程序的动态库? HOT 1
- okam css 后处理postcss支持其他postcss插件吗?比如雪碧图postcss-sprites,装了下插件依赖运行报错,若支持怎么配置? HOT 1
- 百度小程序无法找到 regeneratorRuntime 问题 HOT 2
- 百度小程序Page.onInit中不支持通过赋值this.xxx修改视图 HOT 1
- app.json未找到
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from okam.