mirror of
https://github.com/sunniejs/vue-h5-template.git
synced 2025-09-10 08:00:30 +08:00
13 lines
232 B
Markdown
13 lines
232 B
Markdown
# alias
|
|
|
|
```javascript
|
|
import { fileURLToPath, URL } from 'node:url';
|
|
|
|
resolve: {
|
|
alias: {
|
|
'@': fileURLToPath(new URL('./src', import.meta.url)),
|
|
'#': fileURLToPath(new URL('./types', import.meta.url))
|
|
},
|
|
},
|
|
```
|