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 d9953f9 commit 146507fCopy full SHA for 146507f
src/create-router.ts
@@ -2,7 +2,7 @@ import VueRouter from 'vue-router'
2
import Vue from 'vue'
3
4
type CreateRouterParams = Omit<ConstructorParameters<typeof VueRouter>[0], 'mode'> & {
5
- history: ConstructorParameters<typeof VueRouter>[0]['mode']
+ history: 'abstract' | 'history' | 'hash'
6
}
7
8
export function createRouter(options: CreateRouterParams) {
vite.config.ts
@@ -20,7 +20,9 @@ export default defineConfig({
20
},
21
22
23
- plugins: [],
+ plugins: [
24
+ dts({ logLevel: 'silent' })
25
+ ],
26
test: {
27
coverage: {
28
exclude: ['packages'],
0 commit comments