File tree Expand file tree Collapse file tree 4 files changed +3
-22
lines changed Expand file tree Collapse file tree 4 files changed +3
-22
lines changed Original file line number Diff line number Diff line change 3636npm run dev
3737```
3838
39- ## Notes for when hosting somewhere other than github pages
40- - Update vite.config.ts to remove base: "/solvenergy-source"
41- - update App.tsx to remove basename from <BrowserRouter basename =" /solvenergy-source " >
42-
43- ** Edit a file directly in GitHub**
44-
45- - Navigate to the desired file(s).
46- - Click the "Edit" button (pencil icon) at the top right of the file view.
47- - Make your changes and commit the changes.
48-
49- ** Use GitHub Codespaces**
50-
51- - Navigate to the main page of your repository.
52- - Click on the "Code" button (green button) near the top right.
53- - Select the "Codespaces" tab.
54- - Click on "New codespace" to launch a new Codespace environment.
55- - Edit files directly within the Codespace and commit and push your changes once you're done.
56-
5739## What technologies are used for this project?
5840
5941This project is built with:
Original file line number Diff line number Diff line change 33 "private" : false ,
44 "version" : " 0.1.0" ,
55 "type" : " module" ,
6- "homepage" : " https://skrispyb.github.io/ solvenergy-source /" ,
6+ "homepage" : " https://solvenergy-in /" ,
77 "scripts" : {
88 "dev" : " vite" ,
99 "build" : " vite build" ,
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const App = () => (
2222 < TooltipProvider >
2323 < Toaster />
2424 < Sonner />
25- < BrowserRouter basename = "/solvenergy-source" >
25+ < BrowserRouter >
2626 < Routes >
2727 < Route path = "/" element = { < Index /> } />
2828 < Route path = "/solar-panels" element = { < SolarPanels /> } />
Original file line number Diff line number Diff line change @@ -18,6 +18,5 @@ export default defineConfig(({ mode }) => ({
1818 alias : {
1919 "@" : path . resolve ( __dirname , "./src" ) ,
2020 } ,
21- } ,
22- base : "/solvenergy-source"
21+ }
2322} ) ) ;
You can’t perform that action at this time.
0 commit comments