const elixir = require('laravel-elixir');
require('laravel-elixir-vue-2');
require('laravel-elixir-browserify-official');require('laravel-elixir-vueify');/*
Elixir Asset Management
--------------------------------------------------------------------------
Elixir provides a clean, fluent API for defining some basic Gulp tasks
for your Laravel application. By default, we are compiling the Sass
file for your application as well as publishing vendor resources.
*/
elixir.ready(function() {
elixir.config.js.browserify.transformers
.find(transformer => transformer.name === 'babelify')
.options.plugins = [
'babel-plugin-transform-vue-jsx'
];
})
elixir(function(mix) {
mix.sass('app.scss');
mix.browserify('main.js');
});
the templates returning plaintex, no idea why?
my gulp file: