ccjgmwz 4 年之前
父節點
當前提交
f09618f41d
共有 4 個文件被更改,包括 35 次插入6 次删除
  1. 8 2
      node_modules/.package-lock.json
  2. 20 2
      package-lock.json
  3. 5 1
      package.json
  4. 2 1
      unimall-app/pages.json

+ 8 - 2
node_modules/.package-lock.json

@@ -1,6 +1,12 @@
 {
-  "name": "develop",
+  "name": "unimall",
   "lockfileVersion": 2,
   "requires": true,
-  "packages": {}
+  "packages": {
+    "node_modules/@dcloudio/uni-ui": {
+      "version": "1.3.1",
+      "resolved": "https://registry.npmjs.org/@dcloudio/uni-ui/-/uni-ui-1.3.1.tgz",
+      "integrity": "sha512-QVW52gmwi3SMBtDj2J8wKpdURpFpc0VbdDaBb4m0913DhQ4yDUe/V0eSZlbkKpeJ4e7KBXosb6bYiDlXZ+3YaA=="
+    }
+  }
 }

+ 20 - 2
package-lock.json

@@ -1,6 +1,24 @@
 {
-  "name": "develop",
+  "name": "unimall",
   "lockfileVersion": 2,
   "requires": true,
-  "packages": {}
+  "packages": {
+    "": {
+      "dependencies": {
+        "@dcloudio/uni-ui": "^1.3.1"
+      }
+    },
+    "node_modules/@dcloudio/uni-ui": {
+      "version": "1.3.1",
+      "resolved": "https://registry.npmjs.org/@dcloudio/uni-ui/-/uni-ui-1.3.1.tgz",
+      "integrity": "sha512-QVW52gmwi3SMBtDj2J8wKpdURpFpc0VbdDaBb4m0913DhQ4yDUe/V0eSZlbkKpeJ4e7KBXosb6bYiDlXZ+3YaA=="
+    }
+  },
+  "dependencies": {
+    "@dcloudio/uni-ui": {
+      "version": "1.3.1",
+      "resolved": "https://registry.npmjs.org/@dcloudio/uni-ui/-/uni-ui-1.3.1.tgz",
+      "integrity": "sha512-QVW52gmwi3SMBtDj2J8wKpdURpFpc0VbdDaBb4m0913DhQ4yDUe/V0eSZlbkKpeJ4e7KBXosb6bYiDlXZ+3YaA=="
+    }
+  }
 }

+ 5 - 1
package.json

@@ -1 +1,5 @@
-{}
+{
+  "dependencies": {
+    "@dcloudio/uni-ui": "^1.3.1"
+  }
+}

+ 2 - 1
unimall-app/pages.json

@@ -1,6 +1,7 @@
 {
 		"easycom": {
-	        "^u-(.*)": "@/components/uview-ui/components/u-$1/u-$1.vue"
+	        "^u-(.*)": "@/components/uview-ui/components/u-$1/u-$1.vue",
+            "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue"
 	    },
 		"lazyCodeLoading": "requiredComponents",
 		"tabBar": {