mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +00:00
Convert vue router to typescript
This commit is contained in:
parent
ea46907ed2
commit
363025dabc
|
@ -1,10 +1,10 @@
|
|||
import Vue from 'vue';
|
||||
import VueRouter from 'vue-router';
|
||||
import VueRouter, { RouteConfig } from 'vue-router';
|
||||
import Home from '@/views/Home.vue';
|
||||
|
||||
Vue.use(VueRouter);
|
||||
|
||||
const routes = [
|
||||
const routes: Array<RouteConfig> = [
|
||||
{
|
||||
path: '/',
|
||||
name: 'Home',
|
Loading…
Reference in New Issue
Block a user