mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-04-25 01:03:36 +00:00
Feat: vite & upgraded dependencies (#100)
* On every route change, update local variables from query params * ResultSection is keyed to query to force re-render * Resolved lint warnings * replace webpack w/ vite * update all imports with alias @ and scss * vite environment variables, also typed * upgraded eslint, defined new rules & added ignore comments * resolved linting issues * moved index.html to project root * updated dockerfile w/ build stage before runtime image definition * sign drone config
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable no-param-reassign */
|
||||
import IStateDarkmode from "../interfaces/IStateDarkmode";
|
||||
|
||||
const state: IStateDarkmode = {
|
||||
@@ -10,9 +11,7 @@ export default {
|
||||
namespaced: true,
|
||||
state,
|
||||
getters: {
|
||||
darkmodeSupported: (state: IStateDarkmode) => {
|
||||
return state.darkmodeSupported;
|
||||
}
|
||||
darkmodeSupported: (state: IStateDarkmode) => state.darkmodeSupported
|
||||
},
|
||||
mutations: {
|
||||
SET_DARKMODE_SUPPORT: (
|
||||
|
||||
Reference in New Issue
Block a user