-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
webpack.config.js疑问 #9
Comments
如果你打算使用 runtime + compiler 版本的 Vue 的话就配置,不过大多数情况下都是选择预编译好模板(用 vue-loader 和 *.vue 文件) |
比如说,我在项目中用vue-region-picker的时候,就得加 |
.......😂 那个是当初没理解 Vue 2 的这个特性,然后一直没修复 我这两天弄好 |
这个问题是怎么导致的呢? Uncaught TypeError: _vm._h is not a function |
根据这个Issue,是不是需要添加
vue
的alias
?实际项目中,也用到别的插件,不加alias的话终端里会报
[Vue warn]: You are using the runtime-only build of Vue where the template option is not available. Either pre-compile the templates into render functions, or use the compiler-included build.
The text was updated successfully, but these errors were encountered: