You are using the runtime-only build of Vue where the template compiler is not available.

You are using the runtime-only build of Vue where the template compiler is not available.

[Vue warn]: You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.

found in

—>
at src/components/HelloWorld.vue
at src/App.vue

新建文件: vue.config.js

odule.exports = {
    runtimeCompiler: true
};

需要重新启动npm serve

yusp75

发表评论