Finally got it!
Dropping Bootstrap and Vue Awesome was the key
This commit is contained in:
parent
ff8769a1da
commit
90ae68f816
|
@ -9,16 +9,12 @@
|
||||||
"build": "vue-cli-service build",
|
"build": "vue-cli-service build",
|
||||||
"lint": "vue-cli-service lint",
|
"lint": "vue-cli-service lint",
|
||||||
"apistart": "cd ../api/MyPrayerJournal.Api && dotnet run",
|
"apistart": "cd ../api/MyPrayerJournal.Api && dotnet run",
|
||||||
"vue": "vue-cli-service build && cd ../api/MyPrayerJournal.Api && dotnet run"
|
"vue": "vue-cli-service build --modern && cd ../api/MyPrayerJournal.Api && dotnet run"
|
||||||
},
|
},
|
||||||
"sideEffects": [
|
|
||||||
"**/*.css"
|
|
||||||
],
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"auth0-js": "^9.7.3",
|
"auth0-js": "^9.7.3",
|
||||||
"axios": "^0.18.0",
|
"axios": "^0.18.0",
|
||||||
"moment": "^2.18.1",
|
"moment": "^2.18.1",
|
||||||
"pug": "^2.0.1",
|
|
||||||
"vue": "^2.5.15",
|
"vue": "^2.5.15",
|
||||||
"vue-progressbar": "^0.7.3",
|
"vue-progressbar": "^0.7.3",
|
||||||
"vue-router": "^3.0.0",
|
"vue-router": "^3.0.0",
|
||||||
|
@ -30,9 +26,8 @@
|
||||||
"@vue/cli-plugin-eslint": "^3.0.0",
|
"@vue/cli-plugin-eslint": "^3.0.0",
|
||||||
"@vue/cli-service": "^3.0.0",
|
"@vue/cli-service": "^3.0.0",
|
||||||
"@vue/eslint-config-standard": "^3.0.0",
|
"@vue/eslint-config-standard": "^3.0.0",
|
||||||
"css-loader": "^1.0.0",
|
"pug": "^2.0.1",
|
||||||
"pug-plain-loader": "^1.0.0",
|
"pug-plain-loader": "^1.0.0",
|
||||||
"vue-style-loader": "^4.1.2",
|
|
||||||
"vue-template-compiler": "^2.5.17"
|
"vue-template-compiler": "^2.5.17"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||||
|
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="preload" as="style">
|
||||||
|
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
||||||
<title>myPrayerJournal</title>
|
<title>myPrayerJournal</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -29,7 +29,7 @@ export default {
|
||||||
Navigation
|
Navigation
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return { version }
|
return {}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
this.$refs.toast.setOptions({ position: 'bottom right' })
|
this.$refs.toast.setOptions({ position: 'bottom right' })
|
||||||
|
@ -37,6 +37,9 @@ export default {
|
||||||
computed: {
|
computed: {
|
||||||
toast () {
|
toast () {
|
||||||
return this.$refs.toast
|
return this.$refs.toast
|
||||||
|
},
|
||||||
|
version () {
|
||||||
|
return version.endsWith('.0') ? version.substr(0, version.length - 2) : version
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ import mutations from '@/store/mutation-types'
|
||||||
var tokenRenewalTimeout
|
var tokenRenewalTimeout
|
||||||
|
|
||||||
export default class AuthService {
|
export default class AuthService {
|
||||||
|
|
||||||
constructor () {
|
constructor () {
|
||||||
this.login = this.login.bind(this)
|
this.login = this.login.bind(this)
|
||||||
this.setSession = this.setSession.bind(this)
|
this.setSession = this.setSession.bind(this)
|
||||||
|
|
|
@ -79,13 +79,5 @@ export default new Router({
|
||||||
name: 'LogOn',
|
name: 'LogOn',
|
||||||
component: LogOn
|
component: LogOn
|
||||||
}
|
}
|
||||||
// {
|
|
||||||
// path: '/about',
|
|
||||||
// name: 'about',
|
|
||||||
// // route level code-splitting
|
|
||||||
// // this generates a separate chunk (about.[hash].js) for this route
|
|
||||||
// // which is lazy-loaded when the route is visited.
|
|
||||||
// component: () => import(/* webpackChunkName: "about" */ './views/About.vue')
|
|
||||||
// }
|
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
|
const webpack = require('webpack')
|
||||||
module.exports = {
|
module.exports = {
|
||||||
outputDir: '../api/MyPrayerJournal.Api/wwwroot',
|
outputDir: '../api/MyPrayerJournal.Api/wwwroot',
|
||||||
css: {
|
configureWebpack: {
|
||||||
modules: true
|
plugins: [
|
||||||
|
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/)
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -7008,7 +7008,7 @@ vue-router@^3.0.0:
|
||||||
version "3.0.1"
|
version "3.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/vue-router/-/vue-router-3.0.1.tgz#d9b05ad9c7420ba0f626d6500d693e60092cc1e9"
|
resolved "https://registry.yarnpkg.com/vue-router/-/vue-router-3.0.1.tgz#d9b05ad9c7420ba0f626d6500d693e60092cc1e9"
|
||||||
|
|
||||||
vue-style-loader@^4.1.0, vue-style-loader@^4.1.2:
|
vue-style-loader@^4.1.0:
|
||||||
version "4.1.2"
|
version "4.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/vue-style-loader/-/vue-style-loader-4.1.2.tgz#dedf349806f25ceb4e64f3ad7c0a44fba735fcf8"
|
resolved "https://registry.yarnpkg.com/vue-style-loader/-/vue-style-loader-4.1.2.tgz#dedf349806f25ceb4e64f3ad7c0a44fba735fcf8"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user