先试用uni-ui吧

This commit is contained in:
aixianling
2023-01-05 18:05:06 +08:00
parent a8db7468c2
commit d8d83395a9
3 changed files with 8 additions and 1 deletions

View File

@@ -4,7 +4,11 @@ const start = () => {
chalkTag.info('开始生成pages.json...')
let json = {
easycom: {
"^(K|V)(.*)": "@/components/$1$2.vue"
autoscan: true,
custom: {
"^(K|V)(.*)": "@/components/$1$2.vue",
"^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue"
}
},
pages: [
{path: 'pages/home', style: {navigationBarTitleText: "buy-lite"}},