VueRouter: support for non-root paths (e.g. homeassistant) (#3413)
This commit is contained in:
parent
11aa6ef5c0
commit
00dc461fdf
3 changed files with 21 additions and 21 deletions
|
|
@ -1,8 +1,8 @@
|
|||
import { createRouter, createWebHistory } from "vue-router";
|
||||
import { createRouter, createWebHashHistory } from "vue-router";
|
||||
|
||||
import Main from "./views/Main.vue";
|
||||
|
||||
export default createRouter({
|
||||
history: createWebHistory(),
|
||||
history: createWebHashHistory(),
|
||||
routes: [{ path: "/", component: Main, props: true }],
|
||||
});
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
2
dist/index.html
vendored
2
dist/index.html
vendored
|
|
@ -20,7 +20,7 @@
|
|||
<meta name="theme-color" content="#28293e" />
|
||||
|
||||
<title>evcc</title>
|
||||
<script type="module" crossorigin src="./assets/index.1062968a.js"></script>
|
||||
<script type="module" crossorigin src="./assets/index.fce5e1db.js"></script>
|
||||
<link rel="stylesheet" href="./assets/index.d9d5300d.css">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue