feat: add alias @img
This commit is contained in:
parent
2c942ab858
commit
791f051786
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