mirror of
https://github.com/r-ca/kidshift-web.git
synced 2024-10-25 16:34:01 +00:00
fix import
This commit is contained in:
parent
c38dcadc3c
commit
dfcdccb2d7
|
@ -5,7 +5,7 @@ import {
|
|||
createWebHashHistory,
|
||||
createWebHistory,
|
||||
} from 'vue-router';
|
||||
import { StateInterface } from '../store';
|
||||
import { RootStateInterface } from '../store';
|
||||
|
||||
import routes from './routes';
|
||||
|
||||
|
@ -18,7 +18,7 @@ import routes from './routes';
|
|||
* with the Router instance.
|
||||
*/
|
||||
|
||||
export default route<StateInterface>(function (/* { store, ssrContext } */) {
|
||||
export default route<RootStateInterface>(function (/* { store, ssrContext } */) {
|
||||
const createHistory = process.env.SERVER
|
||||
? createMemoryHistory
|
||||
: (process.env.VUE_ROUTER_MODE === 'history' ? createWebHistory : createWebHashHistory);
|
||||
|
|
Loading…
Reference in New Issue
Block a user