Skip to content

Commit

Permalink
Add copy to index.html to 404.html
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Feb 22, 2024
1 parent 17491d2 commit 9d447f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"scripts": {
"dev": "vite",
"build": "vue-tsc && vite build",
"preview": "vite preview"
"preview": "vite preview",
"postbuild": "node -e \"fs.copyFileSync('dist/index.html','dist/404.html')\""
},
"dependencies": {
"@servicestack/client": "^2.1.1",
Expand Down
1 change: 0 additions & 1 deletion src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ declare module 'vue' {
FileLayout: typeof import('./components/FileLayout.vue')['default']
FollowLinks: typeof import('./components/FollowLinks.vue')['default']
GettingStarted: typeof import('./components/GettingStarted.vue')['default']
HelloApi: typeof import('./components/HelloApi.vue')['default']
HelloWorld: typeof import('./components/HelloWorld.vue')['default']
Include: typeof import('./components/Include.vue')['default']
MarkdownComponent: typeof import('./components/MarkdownComponent.vue')['default']
Expand Down

0 comments on commit 9d447f6

Please sign in to comment.