diff --git a/debugger/package-lock.json b/debugger/package-lock.json index 5cec748e..f5c825ec 100644 --- a/debugger/package-lock.json +++ b/debugger/package-lock.json @@ -10994,6 +10994,11 @@ } } }, + "vue-router": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.1.2.tgz", + "integrity": "sha512-WssQEHSEvIS1/CI4CO2T8LJdoK4Q9Ngox28K7FDNMTfzNTk2WS5D0dDlqYCaPG+AG4Z8wJkn1KrBc7AhspZJUQ==" + }, "vue-style-loader": { "version": "4.1.2", "resolved": "https://registry.npm.taobao.org/vue-style-loader/download/vue-style-loader-4.1.2.tgz", diff --git a/debugger/package.json b/debugger/package.json index 6cf4863f..d9b2e2c8 100644 --- a/debugger/package.json +++ b/debugger/package.json @@ -10,7 +10,8 @@ "dependencies": { "axios": "^0.19.0", "core-js": "^2.6.5", - "vue": "^2.6.10" + "vue": "^2.6.10", + "vue-router": "^3.1.2" }, "devDependencies": { "@vue/cli-plugin-babel": "^3.10.0", diff --git a/debugger/src/App.vue b/debugger/src/App.vue index ce2c8d13..1d13abee 100644 --- a/debugger/src/App.vue +++ b/debugger/src/App.vue @@ -1,21 +1,12 @@ diff --git a/debugger/src/components/Context.vue b/debugger/src/components/Context.vue new file mode 100644 index 00000000..efb8537c --- /dev/null +++ b/debugger/src/components/Context.vue @@ -0,0 +1,35 @@ + + + + + + diff --git a/debugger/src/components/HelloWorld.vue b/debugger/src/components/HelloWorld.vue deleted file mode 100644 index 879051a2..00000000 --- a/debugger/src/components/HelloWorld.vue +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - diff --git a/debugger/src/components/Debug.vue b/debugger/src/components/Home.vue similarity index 75% rename from debugger/src/components/Debug.vue rename to debugger/src/components/Home.vue index 956b2b1a..744709c8 100644 --- a/debugger/src/components/Debug.vue +++ b/debugger/src/components/Home.vue @@ -1,5 +1,6 @@