dai-vue-temp-m

更新配置

2022/1/8 15:13:33

更改列表

.gitignore 3(+2 -1)

build/config.js 11(+3 -8)

main/index.js 1(+0 -1)

package.json 2(+1 -1)

详细信息

.gitignore 3(+2 -1)

diff --git a/.gitignore b/.gitignore
index 737bc52..8a8eb06 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 node_modules/
 dist/
-package-lock.json
\ No newline at end of file
+package-lock.json
+.vscode/
\ No newline at end of file

build/config.js 11(+3 -8)

diff --git a/build/config.js b/build/config.js
index 6fdf3ea..fc293c8 100644
--- a/build/config.js
+++ b/build/config.js
@@ -3,17 +3,12 @@ module.exports = config = {
     //打包目标目录
     buildPath: './dist/',
     copy: [
-        // {
-        //     //源目录/文件
-        //     from: './html',
-        //     //目标目录/文件
-        //     to: '../../../web-dist/web-zi-mobile/dist/html'
-        // },
         {
             //源目录/文件
-            from: '../../../web-dist/web-zi-mobile',
+            from: './html',
             //目标目录/文件
-            to: '../web-zi-uniapp/hybrid/html'
+            to: './dist/html',
+            ignore: ['.*']
         }
     ]
 };

main/index.js 1(+0 -1)

diff --git a/main/index.js b/main/index.js
index 3a37159..d15cbc8 100644
--- a/main/index.js
+++ b/main/index.js
@@ -1,4 +1,3 @@
-import Vue from 'vue';
 import { DaiVue } from 'dai-vue';
 import modules from './modules.js';
 import config from './config/config.js';

package.json 2(+1 -1)

diff --git a/package.json b/package.json
index ea9e856..ce8eb81 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
     "description": "dai-vue",
     "main": "src/index.js",
     "dependencies": {
-        "dai-vue": "^1.0.3",
+        "dai-vue": "^1.0.5",
         "vuex": "^3.6.2"
     },
     "scripts": {