We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 377313d commit 66364ffCopy full SHA for 66364ff
2 files changed
package.json
@@ -5,7 +5,7 @@
5
"type": "module",
6
"scripts": {
7
"dev": "vite",
8
- "build": "vite build",
+ "build": "tsc && vite build",
9
"lint": "eslint .",
10
"preview": "vite preview"
11
},
vite.config.ts
@@ -3,10 +3,11 @@ import react from '@vitejs/plugin-react';
3
import { plugin as markdown } from 'vite-plugin-markdown';
4
export default defineConfig({
+ base: '/DDH2004.github.io/', // Add this line with your repo name
plugins: [
react(),
markdown({
- mode: ['react', 'raw'] // This enables both React components and raw string imports
+ mode: 'html' // Using just html mode to avoid TypeScript errors
})
12
]
13
});
0 commit comments