You are using the runtime-only build of Vue where the template compiler is not available. Either pre
2017-09-30 00:00
876 查看
摘要: 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.
vue在开发过程中会遇到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 Root).这个的报错,我在vue的package.json把"main": "dist/vue.runtime.common.js",改为了"main": "dist/vue.js","module": "dist/vue.runtime.esm.js",改为了"module": "dist/vue.js",之后就不报错了
特别应该注意的是,需要先把项目停掉,然后再重启这个错误才会消失,已验证
vue在开发过程中会遇到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 Root).这个的报错,我在vue的package.json把"main": "dist/vue.runtime.common.js",改为了"main": "dist/vue.js","module": "dist/vue.runtime.esm.js",改为了"module": "dist/vue.js",之后就不报错了
特别应该注意的是,需要先把项目停掉,然后再重启这个错误才会消失,已验证
相关文章推荐
- webpack打包vue2.0,[Vue warn]: You are using the runtime-only build of Vue where the template compiler
- [Vue warn]: You are using the runtime-only build of Vue where the templa
- You are using version 6.4.1 of the AdMob SDK which is non-compliant with the Google Play Ad Policy
- INS-35354] The system on which you are attempting to install Oracle RAC is not part of a valid clust
- Uncaught Error: [$injector:nomod] Module 'xxx' is not available! You either misspelled the m
- Can't create a new thread (errno 11); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug
- Crystal Report Error: Either the Crystal Reports registy key permission are insufficient or the Crystal Reports runtime is not installed correctly
- fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module
- Mongodb无法启动:The default storage engine 'wiredTiger' is not available with this build of mongod.
- Module 'starter' is not available! You either misspelled the module name or forgot to load it.
- can't create a new thread(errno 11) ;if you are not out of avaiable memory ,you can consult the manu
- (转)fatal error C1853: precompiled header file is from a previous version of the compiler, or the pre
- rror Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column To disable safe mode, toggle the option in Preferences -> SQL Editor and reconnec
- Eclipse this compilation is not on the build path of a java project
- Error:Failed to complete Gradle execution. Cause: The version of Gradle you are using (3.3) does no
- Visual Studio 2008 Error: The web services enumeration components are not available. You need to reinstall Visual Studio to add web references to your application.
- the resource is not on the build path of a java project错误
- the resource is not on the build path of a java project的一种情况
- 【MySQL笔记】解除输入的安全模式,Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column To disable safe mode, toggle the option in Preferences -> SQL Queries and reconnect.
- The resource is not on the build path of a PHP project