feat: working SPA
This commit is contained in:
@@ -11,7 +11,11 @@ export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': fileURLToPath(new URL('./src', import.meta.url)),
|
||||
'@views': fileURLToPath(new URL('./src/views', import.meta.url)),
|
||||
'@lib': fileURLToPath(new URL('./src/lib', import.meta.url)),
|
||||
'@articles': fileURLToPath(new URL('./articles', import.meta.url)),
|
||||
'@interfaces': fileURLToPath(new URL('./src/interfaces.ts', import.meta.url)),
|
||||
},
|
||||
},
|
||||
assetsInclude: [/\.\/articles\/.*(?!\.md)'/],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user