Skip to content

Commit

Permalink
Use hash routing cuz github pages
Browse files Browse the repository at this point in the history
todo: fix this another day to be a proper spa
  • Loading branch information
alexkar598 committed Jun 23, 2023
1 parent 7751852 commit ea86f38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { createPinia } from "pinia";
import { createApp } from "vue";
import VueCodemirror from "vue-codemirror";
import { createWebHistory, createRouter } from "vue-router";
import { createRouter, createWebHashHistory } from "vue-router";

import rootComponent from "./index.vue";

Expand All @@ -12,7 +12,7 @@ import * as Emulator from "./vm/emulator";
import * as Command from "./vm/command";

const router = createRouter({
history: createWebHistory(),
history: createWebHashHistory(),
routes: [
{
name: "edit",
Expand Down

0 comments on commit ea86f38

Please sign in to comment.