From eb8fbd0b2dd51c7eb5f3e01f710cf5eed45dbece Mon Sep 17 00:00:00 2001
From: Cell <1024@lruihao.cn>
Date: Tue, 8 Aug 2023 14:54:00 +0800
Subject: [PATCH] =?UTF-8?q?Feat:=20=E5=A2=9E=E5=8A=A0=20driver.js=20demo?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package.json | 14 +++---
src/router.js | 6 +++
src/views/guide.vue | 115 ++++++++++++++++++++++++++++++++++++++++++++
yarn.lock | 5 ++
4 files changed, 134 insertions(+), 6 deletions(-)
create mode 100644 src/views/guide.vue
diff --git a/package.json b/package.json
index b2d6717..3864786 100644
--- a/package.json
+++ b/package.json
@@ -22,7 +22,13 @@
"lint": "vue-cli-service lint",
"serve": "npm run gr && vue-cli-service serve"
},
- "dependencies": {},
+ "dependencies": {
+ "core-js": "^3.8.3",
+ "driver.js": "^1.2.1",
+ "element-ui": "^2.15.13",
+ "vue": "^2.6.14",
+ "vue-router": "^3.5.1"
+ },
"devDependencies": {
"@babel/core": "^7.12.16",
"@babel/eslint-parser": "^7.12.16",
@@ -31,18 +37,14 @@
"@vue/cli-plugin-eslint": "~5.0.0",
"@vue/cli-plugin-router": "~5.0.0",
"@vue/cli-service": "~5.0.0",
- "core-js": "^3.8.3",
- "element-ui": "^2.15.13",
"eslint": "^7.32.0",
"eslint-plugin-vue": "^8.0.3",
"lint-staged": "^11.1.2",
"sass": "^1.32.7",
"sass-loader": "^12.0.0",
- "vue": "^2.6.14",
- "vue-router": "^3.5.1",
"vue-template-compiler": "^2.6.14"
},
"gitHooks": {
"pre-commit": "lint-staged"
}
-}
\ No newline at end of file
+}
diff --git a/src/router.js b/src/router.js
index 2fd9635..bddbd1c 100644
--- a/src/router.js
+++ b/src/router.js
@@ -5,6 +5,12 @@ import Vue from 'vue'
Vue.use(VueRouter)
const routes = [
+ {
+ path: '/guide',
+ name: 'guide',
+ meta: { description: 'driver.js demo' },
+ component: () => import(/* webpackChunkName: "guide" */ '@/views/guide.vue'),
+ },
{
path: '/',
name: 'home',
diff --git a/src/views/guide.vue b/src/views/guide.vue
new file mode 100644
index 0000000..a7b5502
--- /dev/null
+++ b/src/views/guide.vue
@@ -0,0 +1,115 @@
+
+
+
+
+
+
+ - Nav Item 1
+ - Nav Item 2
+ - Nav Item 3
+
+
+
+
+
+
+
+
+
+
diff --git a/yarn.lock b/yarn.lock
index 1068262..4bd76ce 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2825,6 +2825,11 @@ dotenv@^10.0.0:
resolved "https://registry.npmjs.org/dotenv/-/dotenv-10.0.0.tgz#3d4227b8fb95f81096cdd2b66653fb2c7085ba81"
integrity sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==
+driver.js@^1.2.1:
+ version "1.2.1"
+ resolved "https://registry.npmjs.org/driver.js/-/driver.js-1.2.1.tgz#63d0c43062b34f42a4572d95d50f91667b0d44a1"
+ integrity sha512-6nDbVnZdjRgTsJOOmGRmMf/t6cHnMyyZK/wLSbdLZp33I7odPglw1cVlX3TMaPnMDYIJUq7h8a0buejOLqM7XQ==
+
duplexer@^0.1.2:
version "0.1.2"
resolved "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz#3abe43aef3835f8ae077d136ddce0f276b0400e6"