支持偏好设置

This commit is contained in:
muwoo
2021-12-08 21:28:16 +08:00
parent 64f2eba2fa
commit fc7e3e91bd
8 changed files with 541 additions and 24 deletions

View File

@@ -1,6 +1,8 @@
import { createRouter, createWebHashHistory, RouteRecordRaw } from "vue-router";
import Market from "../views/market/index.vue";
import Installed from "../views/installed/index.vue";
import Account from "../views/account/index.vue";
import Settings from "../views/settings/index.vue";
const routes: Array<RouteRecordRaw> = [
{
@@ -13,6 +15,16 @@ const routes: Array<RouteRecordRaw> = [
name: "installed",
component: Installed,
},
{
path: "/account",
name: "account",
component: Account,
},
{
path: "/settings",
name: "settings",
component: Settings,
},
{
path: "/:catchAll(.*)",
name: "market",