Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vue页面加载报错You are using the runtime-only build #32

Open
Bobjoy opened this issue Mar 28, 2020 · 0 comments
Open

Vue页面加载报错You are using the runtime-only build #32

Bobjoy opened this issue Mar 28, 2020 · 0 comments
Labels

Comments

@Bobjoy
Copy link
Owner

Bobjoy commented Mar 28, 2020

问题描述

[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.

解决办法

修改(创建)vue.config.js文件

module.exports = { runtimeCompiler: true }
@Bobjoy Bobjoy added the 💥Vue Vue label Mar 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant