feat: add alias @img
This commit is contained in:
parent
c67adc1208
commit
2da4645e73
0
src/static/images/.gitkeep
Normal file
0
src/static/images/.gitkeep
Normal file
@ -121,6 +121,7 @@ export default ({ command, mode }) => {
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.join(process.cwd(), './src'),
|
||||
'@img': path.join(process.cwd(), './src/static/images'),
|
||||
},
|
||||
},
|
||||
server: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user