Created
August 19, 2020 18:50
-
-
Save rzkhosroshahi/292534390cb91161eb2d36ed0bf08858 to your computer and use it in GitHub Desktop.
This file contains 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
const path = require('path'); | |
module.exports = { | |
css: { | |
loaderOptions: { | |
sass: { | |
additionalData: '@import "~@/styles/main.scss"', | |
}, | |
}, | |
}, | |
transpileDependencies: ['vuetify'], | |
chainWebpack: (config) => { | |
config | |
.entry('app') | |
.clear() | |
.add('./main.js') | |
.end(); | |
config.resolve.alias | |
.set('@', path.join(__dirname, '/')) | |
.set('~', path.join(__dirname, '/')) | |
.set('@arvan', path.join(__dirname, './products')); | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment