- Server
- 静态资源
- Mock
- 渲染引擎
- 预处理器
- 预处理器
- 文件自动刷新
- Proxy
- NEI
- 插件(可自由定制)
- RouteDisplay(展示当前路由列表)
- MockControl(Mock功能增强)
const path = require('path');
module.exports = {
/** nei: { key: 'xxxxxxxx' }, **/
plugins: [],
preCompilers: [],
server: {
routers: [],
port: 9999,
viewRoot: path.resolve(__dirname, 'template'),
syncData: path.resolve(__dirname, 'mock/sync/'),
asyncData: path.resolve(__dirname, 'mock/async'),
static: [
path.resolve(__dirname, './src')
]
}
};