laravel-elixir-vueify
laravel-elixir-vueify copied to clipboard
getting an error
Elixir.config.js.browserify.transformers.push({
^
TypeError: Cannot read property 'transformers' of undefined
at Elixir.ready (/Users/lasserafn/dev-projects/Conderoo2/node_modules/laravel-elixir-vueify/index.js:4:32)
at /Users/lasserafn/dev-projects/Conderoo2/node_modules/laravel-elixir/dist/index.js:29:16
at Array.forEach (native)
at global.Elixir (/Users/lasserafn/dev-projects/Conderoo2/node_modules/laravel-elixir/dist/index.js:28:24)
at Object.
+1
Fix mine by making sure
babel-core\
babel-preset-es2015\
babel-runtime\
babel-plugin-transform-runtime\
are installed https://github.com/vuejs/vueify#usage
Have all these installed, but still getting the same error as above when running gulp
.
Also, what about require('laravel-elixir-vue-2');
in gulpfile.js? Should we delete that line?
Does require('laravel-elixir-vueify');
make that redundant?
This is a bit confusing...
+1