weexteam/vue-loader-for-apache-weex

can not use pug

mdsb100 opened this issue · 6 comments

<template lang="pug">
</template>

error:

ERROR in ./node_modules/weex-loader/node_modules/weex-vue-loader/lib/template-compiler.js?id=data-v-2964abc9!./node_modules/weex-loader/node_modules/weex-vue-loader/lib/selector.js?type=template&index=0!./src/index.vue
    (Emitted value instead of an instance of Error) template syntax error Component template requires a root element, rather than just text.
     @ ./src/index.vue?entry=true 12:23-205

same issue here

Pull request #24

It work!

@erha19 @Hanks10100 can you release a new version?

weex-loader@0.7.2
weex-vue-loader@0.6.1

are published.

Thanks for your work.