-
Notifications
You must be signed in to change notification settings - Fork 0
06.Deployment_Guide
Gayanuka Bulegoda edited this page Jan 21, 2025
·
1 revision
-
Update
vite.config.js
export default defineConfig(({ command }) => ({ plugins: [react()], base: command === 'build' ? '/CanvasCelebration/' : '/', }));
-
Update
package.json
"scripts": { "predeploy": "npm run build", "deploy": "gh-pages -d dist" }
-
Run Deployment Commands
npm run deploy
✅ Your project will be available at:
https://yourusername.github.io/CanvasCelebration/
➡ For further troubleshooting, visit: FAQ
© 2025 Canvas Celebration. All rights reserved.