-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #98 from superlbr/master
track vux problem
- Loading branch information
Showing
4 changed files
with
20 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
'use strict'; | ||
// 零配置简化, 详情:https://www.yuque.com/easy-team/easywebpack/v4 | ||
module.exports = { | ||
node: { | ||
console: true | ||
} | ||
}; | ||
// target: web 表示只获取前端构建 Webpack 配置 | ||
// refer: https://www.yuque.com/easy-team/easywebpack/native | ||
const easywebpack = require('easywebpack-vue'); | ||
const vuxLoader = require('vux-loader'); | ||
const baseWebpackConfig = easywebpack.getWebpackConfig({ | ||
target: 'vue', // target: web 表示只获取前端构建 Webpack 配置 | ||
}); | ||
// 拿到基础配置, 可以进行二次加工 | ||
module.exports = vuxLoader.merge(baseWebpackConfig, { | ||
plugins: ['vux-ui'] | ||
}); |