File tree Expand file tree Collapse file tree 6 files changed +34
-6
lines changed Expand file tree Collapse file tree 6 files changed +34
-6
lines changed Original file line number Diff line number Diff line change 1+
2+ <!DOCTYPE html>
3+ < html lang ="en ">
4+ < head >
5+ < meta charset ="UTF-8 " />
6+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
7+ < title > bikram-calendar</ title >
8+ < meta name ="description " content ="Bikram sambat calendar " />
9+ < meta name ="author " content ="Khumnath " />
10+
11+ < meta property ="og:title " content ="bikram-calendar " />
12+ < meta property ="og:description " content ="bikram-calendar Project " />
13+ < meta property ="og:type " content ="website " />
14+
15+
16+ <!-- Add Lohit Devanagari font -->
17+ < link href ="https://fonts.googleapis.com/css2?family=Lohit+Devanagari&display=swap " rel ="stylesheet ">
18+ <!-- Print stylesheet -->
19+ < link rel ="stylesheet " href ="print.css " media ="print ">
20+ < script type ="module " crossorigin src ="/assets/index-FKO2zEhT.js "> </ script >
21+ < link rel ="stylesheet " crossorigin href ="/assets/index-DVRPNC1s.css ">
22+ </ head >
23+
24+ < body >
25+ < div id ="root "> </ div >
26+
27+ </ body >
28+ </ html >
Original file line number Diff line number Diff line change 1717 < link href ="https://fonts.googleapis.com/css2?family=Lohit+Devanagari&display=swap " rel ="stylesheet ">
1818 <!-- Print stylesheet -->
1919 < link rel ="stylesheet " href ="print.css " media ="print ">
20- < script type ="module " crossorigin src ="/assets/index-Cjew-6gf .js "> </ script >
20+ < script type ="module " crossorigin src ="/assets/index-FKO2zEhT .js "> </ script >
2121 < link rel ="stylesheet " crossorigin href ="/assets/index-DVRPNC1s.css ">
2222 </ head >
2323
Original file line number Diff line number Diff line change 77 "dev" : " vite" ,
88 "build" : " vite build" ,
99 "preview" : " vite preview" ,
10- "build-gh" : " vite build --mode=ghpages " ,
11- "preview-gh" : " vite preview --mode=ghpages " ,
10+ "build-gh" : " vite build --outDir docs && cp docs/index.html docs/404.html " ,
11+
1212 "lint" : " eslint ."
1313 },
1414 "dependencies" : {
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const queryClient = new QueryClient();
1010const App = ( ) => (
1111 < QueryClientProvider client = { queryClient } >
1212 < TooltipProvider >
13- < BrowserRouter >
13+ < BrowserRouter basename = "/nepdate" >
1414 < Routes >
1515 < Route path = "/" element = { < Index /> } />
1616 { /* ADD ALL CUSTOM ROUTES ABOVE THE CATCH-ALL "*" ROUTE */ }
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import path from "path";
44
55export default defineConfig ( ( { mode } ) => ( {
66 // fixme here: does not work on ghpages
7- base : mode === "ghpages" ? "/" : "/" ,
7+ base : mode === "ghpages" ? "/nepdate/ " : "/" ,
88 build : {
99 outDir : mode === "ghpages" ? "docs" : "dist" ,
1010 emptyOutDir : true ,
You can’t perform that action at this time.
0 commit comments