Skip to content

06.Deployment_Guide

Gayanuka Bulegoda edited this page Jan 21, 2025 · 1 revision

📤 Deployment Guide

🌐 Deploying on GitHub Pages

  1. Update vite.config.js

    export default defineConfig(({ command }) => ({
      plugins: [react()],
      base: command === 'build' ? '/CanvasCelebration/' : '/',
    }));
  2. Update package.json

    "scripts": {
      "predeploy": "npm run build",
      "deploy": "gh-pages -d dist"
    }
  3. Run Deployment Commands

    npm run deploy

✅ Your project will be available at:
https://yourusername.github.io/CanvasCelebration/

For further troubleshooting, visit: FAQ

Canvas Celebration Wiki

📌 Overview

🚀 Getting Started

🔧 Development

🔒 Security & Licensing

❓ Help & Support

Clone this wiki locally