feat: add path alias for src

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-06 09:38:02 +01:00
parent 27c72e0022
commit aaf5f608f5
52 changed files with 299 additions and 245 deletions
+3
View File
@@ -8,6 +8,9 @@ import pkg from './package.json'
// https://vitejs.dev/config/
export default defineConfig({
alias: {
'~': resolve('src'),
},
resolve: {
dedupe: ['vue'],
extensions: ['.ts', '.vue'],