diff --git a/docs/uni-app-x/collocation/_sidebar.md b/docs/uni-app-x/collocation/_sidebar.md index 4acb9d3ce15a5ac4aace20de88b23147ab5e85d0..80cec3ba03a773a75bcf309791b3104e07bdf810 100644 --- a/docs/uni-app-x/collocation/_sidebar.md +++ b/docs/uni-app-x/collocation/_sidebar.md @@ -1,6 +1,6 @@ * [pages.json](pagesjson.md) * [main.uts](https://uniapp.dcloud.net.cn/collocation/main.html) -* [app.uvue](https://uniapp.dcloud.net.cn/collocation/App.html) +* [app.uvue](app.md) * manifest.json * [概述](manifest.md) * [模块配置](manifest-modules.md) diff --git a/docs/uni-app-x/collocation/app.md b/docs/uni-app-x/collocation/app.md new file mode 100644 index 0000000000000000000000000000000000000000..ce3d5b68045a3a7c3fecd48f460b06d1e9e807af --- /dev/null +++ b/docs/uni-app-x/collocation/app.md @@ -0,0 +1,96 @@ +# App.vue/App.uvue + +`App.vue/uvue`是uni-app的主组件。uni-app js引擎版是app.vue。uni-app x是app.uvue。以下出现的`app.vue`一般泛指包含了`app.uvue` + +所有页面都是在`App.vue`下进行切换的,是应用入口文件。但`App.vue`本身不是页面,这里不能编写视图元素,也就是没有`