根据uniapp调整工程结构
This commit is contained in:
@@ -3,12 +3,11 @@ const init = require("./build")
|
||||
|
||||
/**
|
||||
* pages.json对象
|
||||
* @type {{globalStyle: {pageOrientation: string, navigationStyle: string}, pages: [{path: string, style: {navigationBarTitleText: string}},{path: string, style: {navigationBarTitleText: string}}], customLogin: *[], easycom: {"^u-(.*)": string, "^(Ai|V)(.*)": string}}}
|
||||
*/
|
||||
const json = {
|
||||
easycom: {
|
||||
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue",
|
||||
"^(Ai|V)(.*)": "src/components/$1$2.vue",
|
||||
"^(Ai|V)(.*)": "@/components/$1$2.vue",
|
||||
},
|
||||
pages: [
|
||||
{path: 'pages/loading', style: {navigationBarTitleText: "欢迎使用"}},
|
||||
|
||||
|
Before Width: | Height: | Size: 984 B After Width: | Height: | Size: 984 B |
Reference in New Issue
Block a user