Skip to content

Instantly share code, notes, and snippets.

module.exports = {
transpileDependencies: ['vuetify'],
}
configureWebpack: () => {
if (process.env.NODE_ENV !== 'development') {
return {
plugins: [
new CopyPlugin([
{
from: path.resolve(__dirname, `./src/environments/webconfig/${process.env.NODE_ENV}/`),
to: path.resolve(__dirname, './dist/')
}
]
module.exports = {
devServer: {
proxy: {
'/apis/my-data-api': {
target: 'https://localhost:5004/api',
changeOrigin: true,
pathRewrite: {
'^/apis/my-data-api': ''
}
},
module.exports = {
devServer: {
port: '9098',
proxy: {
'/apis/my-data-api': {
target: 'https://localhost:5004/api',
changeOrigin: true,
pathRewrite: {
'^/apis/my-data-api': ''