Rosepetal UI
Vue 3 + Vite application for AI-powered visual inspection platform.
Tech Stack
- Vue 3.5+ with Composition API
- Vite 7.x for development and building
- TailwindCSS 3.4+ for styling
- Fabric.js 5.x for canvas operations
- Firebase 12.x for backend services
- TypeScript support
Prerequisites
Clone rosepetal-model repository in the same parent directory as rosepetal-ui:
parent-directory/
├── rosepetal-ui/
└── rosepetal-model/Create symlink in rosepetal-ui node_modules:
bash
cd rosepetal-ui/node_modules
ln -s ../../rosepetal-model .Installation
Install dependencies:
bash
npm installBuild Fabric.js with eraser module:
bash
cd node_modules/fabric
node build.js modules=ALL requirejs exclude=gestures,accessorsDevelopment
Start development server:
bash
npm run devAlternative dev server:
bash
npm run serveBuild
Production build:
bash
npm run buildPreview production build:
bash
npm run previewDeployment
Firebase deployment:
bash
firebase login
firebase use <projectId>
npm run hostingMulti-environment deployment:
bash
npm run deploy:allConfiguration
Update configuration:
bash
npm run uconfigSee Vite Configuration Reference for build customization.