4
2
mirror of https://github.com/getbible/app.git synced 2024-12-21 23:48:53 +00:00

added vue router

This commit is contained in:
Erastus Amunwe 2020-12-04 14:10:00 +02:00
parent 77324dfa62
commit 3ba4887ca6
3 changed files with 22 additions and 4 deletions

11
package-lock.json generated
View File

@ -2048,9 +2048,9 @@
} }
}, },
"vue-loader-v16": { "vue-loader-v16": {
"version": "npm:vue-loader@16.0.0-beta.9", "version": "npm:vue-loader@16.1.0",
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.0.0-beta.9.tgz", "resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.1.0.tgz",
"integrity": "sha512-mu9pg6554GbXDSO8LlxkQM6qUJzUkb/A0FJc9LgRqnU9MCnhzEXwCt1Zx5NObvFpzs2mH2dH/uUCDwL8Qaz9sA==", "integrity": "sha512-fTtCdI7VeyNK0HP4q4y9Z9ts8TUeaF+2/FjKx8CJ/7/Oem1rCX7zIJe+d+jLrVnVNQjENd3gqmANraLcdRWwnQ==",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -13684,6 +13684,11 @@
} }
} }
}, },
"vue-router": {
"version": "3.4.9",
"resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.4.9.tgz",
"integrity": "sha512-CGAKWN44RqXW06oC+u4mPgHLQQi2t6vLD/JbGRDAXm0YpMv0bgpKuU5bBd7AvMgfTz9kXVRIWKHqRwGEb8xFkA=="
},
"vue-style-loader": { "vue-style-loader": {
"version": "4.1.2", "version": "4.1.2",
"resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.2.tgz", "resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.2.tgz",

View File

@ -3,7 +3,7 @@
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"scripts": { "scripts": {
"serve": "vue-cli-service serve", "serve": "npm run lint && vue-cli-service serve",
"build": "vue-cli-service build", "build": "vue-cli-service build",
"lint": "vue-cli-service lint --fix", "lint": "vue-cli-service lint --fix",
"getbible:build": "vue-cli-service electron:build", "getbible:build": "vue-cli-service electron:build",
@ -17,6 +17,7 @@
"lodash": "^4.17.20", "lodash": "^4.17.20",
"uikit": "^3.5.9", "uikit": "^3.5.9",
"vue": "^3.0.0", "vue": "^3.0.0",
"vue-router": "^3.4.9",
"vuex": "^4.0.0-beta.4" "vuex": "^4.0.0-beta.4"
}, },
"devDependencies": { "devDependencies": {

12
src/router/router.js Normal file
View File

@ -0,0 +1,12 @@
import Vue from 'vue';
import VueRouter from 'vue-router';
Vue.use(VueRouter);
const router = new VueRouter({
routes: [
]
})
export default router