npm install sonarqube-scanner --save-dev
"devDependencies": {
Add the following config at the beginning of webpack.mix.js. | |
let mix = require('laravel-mix'); | |
const path = require('path') | |
mix.webpackConfig({ | |
resolve: { | |
extensions: ['.js', '.vue', '.json'], | |
alias: { | |
'@components': path.resolve(__dirname, 'resources/js/app/components'), |