add pages alias

This commit is contained in:
2022-10-03 22:51:46 +01:00
parent 0a41f8705c
commit dd47bebaca
2 changed files with 3 additions and 1 deletions

View File

@@ -57,6 +57,7 @@ module.exports = configure(function (/* ctx */) {
alias: { alias: {
composables: path.join(__dirname, './src/composables'), composables: path.join(__dirname, './src/composables'),
boot: path.join(__dirname, './src/boot'), boot: path.join(__dirname, './src/boot'),
pages: path.join(__dirname, './src/pages'),
}, },
vueRouterMode: 'hash', // available values: 'hash', 'history' vueRouterMode: 'hash', // available values: 'hash', 'history'

View File

@@ -4,7 +4,8 @@
"baseUrl": ".", "baseUrl": ".",
"paths": { "paths": {
"composables/*": ["./src/composables/*"], "composables/*": ["./src/composables/*"],
"boot/*": ["./src/boot/*"] "boot/*": ["./src/boot/*"],
"pages/*": ["./src/pages/*"]
} }
} }
} }