We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91598e8 commit 3294a61Copy full SHA for 3294a61
packages/core/src/htmlPlugin.ts
@@ -25,7 +25,7 @@ export function createPlugin(userOptions: UserOptions = {}): Plugin {
25
26
return {
27
name: 'vite:html',
28
- // enforce: 'pre',
+ enforce: 'pre',
29
configResolved(resolvedConfig) {
30
viteConfig = resolvedConfig
31
env = loadEnv(viteConfig.mode, viteConfig.root, '')
packages/playground/basic/src/main.ts
@@ -1,9 +1,9 @@
1
import { createApp } from 'vue'
2
import App from './App.vue'
3
-import { createRouter, createWebHistory } from 'vue-router'
+import { createRouter, createWebHashHistory } from 'vue-router'
4
5
const router = createRouter({
6
- history: createWebHistory(),
+ history: createWebHashHistory(),
7
routes: [
8
{
9
path: '/test',
0 commit comments