Skip to content

Instantly share code, notes, and snippets.

@nuke99
Created January 15, 2019 17:51
Show Gist options
  • Save nuke99/97123dd3837d92bb6a2755c64494a7ae to your computer and use it in GitHub Desktop.
Save nuke99/97123dd3837d92bb6a2755c64494a7ae to your computer and use it in GitHub Desktop.
Add alias to webpack
mix.webpackConfig({
resolve: {
extensions: ['.js', '.vue', '.json'],
alias: {
'vue$': 'vue/dist/vue.esm.js',
'@': __dirname + '/resources/js'
},
},
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment