页面框架体系重新调整
This commit is contained in:
		
							
								
								
									
										10
									
								
								bin/serve.js
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								bin/serve.js
									
									
									
									
									
								
							| @@ -56,20 +56,20 @@ const start = () => { | ||||
|   chalkTag.info('开始生成pages.json...') | ||||
|   let json = { | ||||
|     easycom: { | ||||
|       "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" | ||||
|       "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue", | ||||
|       "^(Ai|V)(.*)": "@/components/$1$2.vue" | ||||
|     }, | ||||
|     pages: [ | ||||
|       {path: 'pages/loading'}, | ||||
|       {path: 'pages/login'}, | ||||
|       {path: 'pages/mainEntry', style: {navigationBarTitleText: "村微产品应用库"}} | ||||
|       {path: 'pages/login'} | ||||
|     ], | ||||
|     globalStyle: { | ||||
|       pageOrientation: "auto", | ||||
|       navigationStyle: "custom" | ||||
|     } | ||||
|   } | ||||
|   findApp('src/utils', file => { | ||||
|     if (/.*\\.+\\App[^\\]+\.vue/g.test(file)) { | ||||
|   findApp('src/apps', file => { | ||||
|     if (/.*\\.+\\App[^\\]+\\[^\\]+\.vue/g.test(file)) { | ||||
|       let app = { | ||||
|         name: file.replace(/.*\\([^\\]+).vue/g, '$1'), | ||||
|         path: file.replace(/^src\\(.*).vue/g, '$1').replace(/\\/g, '/') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user