Last active
May 3, 2018 13:38
-
-
Save deckvig/059e6dd42ff4ebcac189 to your computer and use it in GitHub Desktop.
Laravel gulp-vue-webpack config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var elixir = require('laravel-elixir'); | |
| require('laravel-elixir-webpack'); | |
| elixir(function (mix) { | |
| mix.webpack('./resources/assets/js/app.js',{ | |
| module: { | |
| loaders: [ | |
| { | |
| test: /\.js$/, | |
| loader: 'babel', | |
| exclude: /node_modules/ | |
| }, | |
| { | |
| test: /\.vue$/, | |
| loader: 'vue' | |
| }, | |
| ] | |
| }, | |
| vue: { | |
| loaders: { | |
| js: 'babel' | |
| } | |
| }, | |
| },'./public/js/app.js').browserSync({proxy:'app.app'}); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment