fix import

This commit is contained in:
rca 2024-07-19 01:35:06 +09:00
parent c38dcadc3c
commit dfcdccb2d7

View File

@ -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);