• 分类:【前端
  • 浏览【1354】
  • 评论【0】
  • 更新【2018-2-16 21:22:49】

bundle.js:935 [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 <Root>) 解决方案:与entry属性平级添加 resolve: { alias: { 'vue$':

阅读全文
  • 分类:【前端
  • 浏览【4132】
  • 评论【2】
  • 更新【2016-1-04 13:52:14】

直接看代码: var gulp = require('gulp') var webpack = require("gulp-webpack"); var webpackConfig = require("./webpack.config.js"); // gulp.task("webpack", function(callback) { // var myConfig = Object.create(webpackConfig); // webpack(myConfig, function(err, stats) { // console.log(">>>>>err

阅读全文