mirror of https://github.com/VueTubeApp/VueTube
remove some dependencies
This commit is contained in:
parent
782556fdd9
commit
6c8ed7cc96
|
@ -106,7 +106,7 @@ export default {
|
|||
mounted() {
|
||||
|
||||
//--- Load Saved Theme ---//
|
||||
const theme = this.$auth.$storage.getLocalStorage("darkTheme");
|
||||
const theme = localStorage.getItem('darkTheme');
|
||||
if (theme != undefined) {
|
||||
/*
|
||||
this.$vuetify.theme.themes.dark.accent = '#222',
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
import colors from 'vuetify/es5/util/colors'
|
||||
/**** Front's Notes / Don't Remove ****
|
||||
* Data Storage:
|
||||
* this.$auth.$storage.setLocalStorage("Authentication", val)
|
||||
* this.$auth.$storage.getLocalStorage("Authentication")
|
||||
* this.$auth.$storage.removeLocalStorage("Authentication")
|
||||
* localStorage.setItem("key", data)
|
||||
* localStorage.getItem('key')
|
||||
*/
|
||||
|
||||
|
||||
|
@ -50,10 +49,7 @@ export default {
|
|||
buildModules: [
|
||||
'@nuxtjs/vuetify',
|
||||
],
|
||||
modules: [
|
||||
'@nuxtjs/axios',
|
||||
'@nuxtjs/auth-next'
|
||||
],
|
||||
modules: [],
|
||||
|
||||
vuetify: {
|
||||
customVariables: ['~/assets/variables.scss'],
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
"generate": "nuxt generate"
|
||||
},
|
||||
"dependencies": {
|
||||
"@nuxtjs/auth-next": "5.0.0-1643791578.532b3d6",
|
||||
"@nuxtjs/axios": "^5.13.6",
|
||||
"core-js": "^3.19.3",
|
||||
"nuxt": "^2.15.8",
|
||||
"vue": "^2.6.14",
|
||||
|
|
|
@ -49,7 +49,7 @@ export default {
|
|||
},
|
||||
|
||||
saveTheme(isDark) {
|
||||
this.$auth.$storage.setLocalStorage("darkTheme", isDark)
|
||||
localStorage.setItem("darkTheme", isDark);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue