import Header from '@/components/base/Header/Header.vue'
const path = require('path')
module.exports = {
title: 'Test',
description: "Test using VuePress",
module: {
rules: [{
test: /\.scss$/,
use: [
"style-loader",
"sass-loader",
{
loader: 'css-loader',
options: {
modules: true,
localIdentName: '[local]_[hash:base64:8]'
}
}
]
}]
},
configureWebpack: {
resolve: {
alias: {
"@": path.resolve(__dirname, 'src/')
}
},
}
}
Error: Can't resolve '@/components/base/Header/Header.vue'