diff --git a/docs/collocation/_sidebar.md b/docs/collocation/_sidebar.md index 689dcbd701adabf61b47385332516c6da12dc121..539b7ca55dd47b99620267422dc00ee24b14524a 100644 --- a/docs/collocation/_sidebar.md +++ b/docs/collocation/_sidebar.md @@ -2,6 +2,7 @@ * [pages.json](collocation/pages.md) * [manifest.json](collocation/manifest.md) * [uni.scss](collocation/uni-scss.md) + * [vue-config.js](collocation/vue-config.md) * 框架接口 * [日志打印](collocation/frame/log.md) * [定时器](collocation/frame/timer.md) diff --git a/docs/collocation/vue-config.md b/docs/collocation/vue-config.md new file mode 100644 index 0000000000000000000000000000000000000000..3998610e9e8b60f71a1e6eb0631ee8325d8389b9 --- /dev/null +++ b/docs/collocation/vue-config.md @@ -0,0 +1,9 @@ +vue.config.js 是一个可选的配置文件,如果项目的根目录中存在这个文件,那么它会被自动加载,具体规范参考:[vue-config.js](https://cli.vuejs.org/zh/config/#vue-config-js) + +**支持情况** +* CLI 工程 +* HBuilderX 2.1.5 及以上版本 + +**注意事项** + +* 部分配置项会被编译配置覆盖,例如:outputDir \ No newline at end of file