-
exp:
index.vue :
``
index.styl :
> .tz
font-size 20px
use
> yarn run build
> ERROR in ./node_modules/weex-vue-loader/lib/style-loader.js!./node_modules/stylus-loader?{"sourceMap…
-
![image](https://user-images.githubusercontent.com/20291026/30537979-80e0da18-9c9e-11e7-8abc-f6d1f235376b.png)
使用requireModule, 返回的是undefined, 无论dom还是其他模块都是这样
```js
export function initIconFont…
-
vue-rx does not support weex
-
In `vue-loader` we hope to:
1. build weex js bundle through `app.vue?platform=weex`
2. automatically call `new Vue({ el: '#app', ...options })` through `app.vue?el=#app` in order to delete entry j…
-
```
WARNING in ./node_modules/weex-vue-loader/lib/style-loader.js!./node_modules/weex-vue-loader/lib/style-rewriter.js?id=data-v-cd1e8110!./node_modules/weex-vue-loader/lib/selector.js?type=styles&in…
-
{Error: Line 1: Unexpected token ...
at ErrorHandler.constructError (/Users/kingcodexl/.lighting-plugins/lib/node_modules/lighting-plugin-type-vue/node_modules/weex-vue-precompiler/node_modules/…
-
在哪里引入
-
vue.js:584 [Vue warn]: Error in nextTick: "TypeError: on.appear.fn is not a function"
应该是vue更新了
"vue": "^2.1.10",
"vue-router": "^2.3.0",
"weex-vue-render": "^0.2.0",
"weex-vu…
-
```
Weex:
class="btn btn-{{type}} btn-sz-{{size}}"
Vue:
:class="['btn', 'btn-' + type, 'btn-sz-' + size]"
Weex:
if="{{!rightItemSrc}}"
Vue:
v-if="!rightItemSrc"
Weex:
repeat="{{item in tabItems}}"
V…
-
*考虑到weex是中国开发团队,我想我直接使用中文能更好的描述问题。*
**原因**
vue-template-compiler 可以总下面的链接中看到,vue-template-compiler会检查当前版本和vue版本是否一致,如果不一致,则报错。weex-builder的npm-shrinkwrap.json文件中将vue-template-compiler锁定为 2.5.1…