使用webpack安装vue,import之后,运营项目报错,如下: [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有两种形式的代码compil
webpack安装大于4.x版本(没有配置webpack.config.js) webpack 输出参数-o 高版本 如果安装的webpack版本大于4+,还需要安装webpack-cli.在没有配置webpack.config.js之前,还需要配置输出参数 webpack ./src/main.js ./dist/bundle.js //没有配置输出参数 -o /没有配置输出参数 -o WARNING in configuration The 'mode' option has not be