You've already forked template-MP-ts
添加初始化目录结构
This commit is contained in:
29
pages.json
29
pages.json
@@ -1,22 +1,29 @@
|
|||||||
{
|
{
|
||||||
"pages": [
|
"pages": [
|
||||||
{
|
{
|
||||||
"path": "pages/index/index",
|
"path": "pages/index/index"
|
||||||
"style": {
|
}
|
||||||
"navigationBarTitleText": "首页"
|
],
|
||||||
}
|
"subPackages": [
|
||||||
|
{
|
||||||
|
"root": "subPages",
|
||||||
|
"pages": [
|
||||||
|
{
|
||||||
|
"path": "welcome/index"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"globalStyle": {
|
|
||||||
"navigationBarTextStyle": "black",
|
|
||||||
"navigationBarTitleText": "uni-app",
|
|
||||||
"navigationBarBackgroundColor": "#F8F8F8",
|
|
||||||
"backgroundColor": "#F8F8F8"
|
|
||||||
},
|
|
||||||
"easycom": {
|
"easycom": {
|
||||||
"autoscan": true,
|
"autoscan": true,
|
||||||
"custom": {
|
"custom": {
|
||||||
"^u-(.*)": "@/uview-plus/components/u-$1/u-$1.vue"
|
"^u-([^-].*)": "@/uview-plus/components/u-$1/u-$1.vue"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"globalStyle": {
|
||||||
|
"navigationBarTextStyle": "black",
|
||||||
|
"navigationBarTitleText": "miniprogram",
|
||||||
|
"navigationBarBackgroundColor": "#F8F8F8",
|
||||||
|
"backgroundColor": "#F8F8F8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
7
subPages/welcome/index.vue
Normal file
7
subPages/welcome/index.vue
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<template>
|
||||||
|
<div> </div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup lang="ts"></script>
|
||||||
|
|
||||||
|
<style scoped></style>
|
||||||
Reference in New Issue
Block a user