123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- {
- "easycom": {
- "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
- },
- // "condition": { //模式配置,仅开发期间生效
- // "current": 0, //当前激活的模式(list 的索引项)
- // "list": [{
- // "name": "test", //模式名称
- // "path": "pages/componentsC/test/index", //启动页面,必选
- // "query": "uuid=c4bba940-f69e-11ea-a419-6bafda9d095e&__id__=1" //启动参数,在页面的onLoad函数里面得到
- // }]
- // },
- "pages": [{
- "path": "pages/index/index",
- "style": {
- "navigationBarTitleText": "uni-app"
- }
- }],
- "preloadRule": {
- "pages/example/components": {
- "network": "all",
- "packages": ["pages/componentsA", "pages/componentsB", "pages/componentsC"]
- }
- },
- "globalStyle": {
- "navigationBarTextStyle": "black",
- "navigationBarTitleText": "uView",
- "navigationBarBackgroundColor": "#FFFFFF",
- "backgroundColor": "#FFFFFF"
- },
- "tabBar": {
- "color": "#909399",
- "selectedColor": "#303133",
- "backgroundColor": "#FFFFFF",
- "borderStyle": "black",
- "list": [{
- "pagePath": "pages/example/components",
- "iconPath": "static/uview/example/component.png",
- "selectedIconPath": "static/uview/example/component_select.png",
- "text": "组件"
- },
- {
- "pagePath": "pages/example/js",
- "iconPath": "static/uview/example/js.png",
- "selectedIconPath": "static/uview/example/js_select.png",
- "text": "工具"
- },
- {
- "pagePath": "pages/example/template",
- "iconPath": "static/uview/example/template.png",
- "selectedIconPath": "static/uview/example/template_select.png",
- "text": "模板"
- }
- ]
- }
- }
|