:warning: Vue3支持: : :warning:
http-vue-loader
直接从html / js加载.vue文件。 没有node.js环境,没有构建步骤。
例子
my-component.vue
Hello {{who}}
< script >
module . exports = {
data : function () {
return {
who : ' world '
}
}
}
</ script >
< style >
.hello {
background-color : #ffe ;
}
</ style >
index.html
<!doctype html >
< html lang =" en " >
< head >
< script src =" https://unpkg.com/vue " > </ scri
1