mirror of
https://github.com/veops/cmdb.git
synced 2025-08-07 00:21:07 +08:00
Modify code organization
This commit is contained in:
16
cmdb-ui/webstorm.config.js
Normal file
16
cmdb-ui/webstorm.config.js
Normal file
@@ -0,0 +1,16 @@
|
||||
'use strict'
|
||||
const path = require('path')
|
||||
|
||||
function resolve (dir) {
|
||||
return path.join(__dirname, '.', dir)
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
context: path.resolve(__dirname, './'),
|
||||
resolve: {
|
||||
extensions: ['.js', '.vue', '.json'],
|
||||
alias: {
|
||||
'@': resolve('src')
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user