diff --git a/package-lock.json b/package-lock.json index 3f85e8a..54d3b9c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,8 @@ "name": "stadtratmonitor-vue", "version": "0.0.0", "dependencies": { - "vue": "^3.3.2" + "vue": "^3.3.2", + "vue-router": "^4.2.2" }, "devDependencies": { "@rushstack/eslint-patch": "^1.2.0", @@ -1478,6 +1479,11 @@ "@vue/shared": "3.3.4" } }, + "node_modules/@vue/devtools-api": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.5.0.tgz", + "integrity": "sha512-o9KfBeaBmCKl10usN4crU53fYtC1r7jJwdGKjPT24t348rHxgfpZ0xL3Xm/gLUYnc0oTp8LAmrxOeLyu6tbk2Q==" + }, "node_modules/@vue/eslint-config-prettier": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/@vue/eslint-config-prettier/-/eslint-config-prettier-7.1.0.tgz", @@ -5081,6 +5087,20 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "dev": true }, + "node_modules/vue-router": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-4.2.2.tgz", + "integrity": "sha512-cChBPPmAflgBGmy3tBsjeoe3f3VOSG6naKyY5pjtrqLGbNEXdzCigFUHgBvp9e3ysAtFtEx7OLqcSDh/1Cq2TQ==", + "dependencies": { + "@vue/devtools-api": "^6.5.0" + }, + "funding": { + "url": "https://github.com/sponsors/posva" + }, + "peerDependencies": { + "vue": "^3.2.0" + } + }, "node_modules/vue-template-compiler": { "version": "2.7.14", "resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.7.14.tgz", diff --git a/package.json b/package.json index 3f5f372..db8e96e 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "format": "prettier --write src/" }, "dependencies": { - "vue": "^3.3.2" + "vue": "^3.3.2", + "vue-router": "^4.2.2" }, "devDependencies": { "@rushstack/eslint-patch": "^1.2.0", diff --git a/src/App.vue b/src/App.vue index 3859c84..93777ac 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,16 +1,24 @@ \ No newline at end of file diff --git a/src/components/MainMenu.vue b/src/components/MainMenu.vue index fcd7493..c94b0d3 100644 --- a/src/components/MainMenu.vue +++ b/src/components/MainMenu.vue @@ -2,16 +2,20 @@ export default { data() { return { - menuEntries: this.mainMenuEntries, + entries: this.mainMenuEntries } - }, + } } \ No newline at end of file diff --git a/src/components/papers/FilterView.vue b/src/components/papers/FilterView.vue index 8baa23c..ff0d52b 100644 --- a/src/components/papers/FilterView.vue +++ b/src/components/papers/FilterView.vue @@ -1,6 +1,4 @@ + + \ No newline at end of file diff --git a/src/views/TheDocumentation.vue b/src/views/TheDocumentation.vue new file mode 100644 index 0000000..14bdfb7 --- /dev/null +++ b/src/views/TheDocumentation.vue @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/src/views/TheImprint.vue b/src/views/TheImprint.vue new file mode 100644 index 0000000..f245e17 --- /dev/null +++ b/src/views/TheImprint.vue @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/src/views/TheLanding.vue b/src/views/TheLanding.vue new file mode 100644 index 0000000..3711051 --- /dev/null +++ b/src/views/TheLanding.vue @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/src/views/TheMap.vue b/src/views/TheMap.vue new file mode 100644 index 0000000..ae5e948 --- /dev/null +++ b/src/views/TheMap.vue @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/src/views/TheTopics.vue b/src/views/TheTopics.vue new file mode 100644 index 0000000..ac45c65 --- /dev/null +++ b/src/views/TheTopics.vue @@ -0,0 +1,33 @@ + + + \ No newline at end of file diff --git a/src/views/TopicsShow.vue b/src/views/TopicsShow.vue new file mode 100644 index 0000000..79283a6 --- /dev/null +++ b/src/views/TopicsShow.vue @@ -0,0 +1,16 @@ + + + \ No newline at end of file diff --git a/src/vue-shim.d.ts b/src/vue-shim.d.ts new file mode 100644 index 0000000..ad17f79 --- /dev/null +++ b/src/vue-shim.d.ts @@ -0,0 +1,4 @@ +declare module "*.vue" { + import Vue from "vue"; + export default Vue; +} \ No newline at end of file diff --git a/tsconfig.app.json b/tsconfig.app.json index 3e5b621..c7b82d9 100644 --- a/tsconfig.app.json +++ b/tsconfig.app.json @@ -1,12 +1,12 @@ { "extends": "@vue/tsconfig/tsconfig.dom.json", - "include": ["env.d.ts", "src/**/*", "src/**/*.vue"], - "exclude": ["src/**/__tests__/*"], + "include": [ "env.d.ts", "src/**/*", "src/**/*.vue" ], + "exclude": [ "src/**/__tests__/*" ], "compilerOptions": { "composite": true, "baseUrl": ".", "paths": { - "@/*": ["./src/*"] + "@/*": [ "./src/*" ] } } } diff --git a/tsconfig.node.json b/tsconfig.node.json index a52f76f..f6483d5 100644 --- a/tsconfig.node.json +++ b/tsconfig.node.json @@ -1,9 +1,9 @@ { "extends": "@tsconfig/node18/tsconfig.json", - "include": ["vite.config.*", "vitest.config.*", "cypress.config.*", "playwright.config.*"], + "include": [ "vite.config.*", "vitest.config.*", "cypress.config.*", "playwright.config.*" ], "compilerOptions": { "composite": true, "module": "ESNext", - "types": ["node"] + "types": [ "node" ] } }