Build static prototypes using the Ankorstore Design System. Designed for designers working with Claude.
- Node.js 20+
- Artifactory access (for
@ankorstore/design-system)
# 1. Create your project from this template (click "Use this template" on GitHub)
# 2. Clone and install
git clone <your-repo-url> && cd <your-repo>
npm install
# 3. Start dev server
npm run dev
# Open http://localhost:3000- Click Code → Codespaces → Create codespace on the repo
- Wait for setup to complete, then run
npm run dev
Note: You need to set
NPM_TOKENin your Codespaces secrets for Artifactory authentication.
This repo includes a CLAUDE.md with full component reference and recipes. Claude will:
- Use only DS components (no raw HTML)
- Follow file conventions automatically
- Create pages, fixtures, and routes correctly
Just describe what you want: "Create a product catalog page with a grid of cards and filters"
Full documentation is in the docs/ directory:
- Project Overview & PDR — Features, requirements, success metrics
- Code Standards — Naming conventions, Vue 3 patterns, TypeScript best practices
- System Architecture — Component hierarchy, data flow, design patterns
- Deployment Guide — GitHub Pages setup, CI/CD, troubleshooting
- Design Guidelines — Component usage, design tokens, responsive design
- Codebase Summary — File structure, dependencies, code metrics
src/
├── pages/ # Page components (one per route)
├── components/ # Reusable components
├── layouts/ # Main layout wrapper
├── data/ # JSON fixtures + TypeScript types
├── styles/ # Design tokens (CSS custom properties)
├── router.ts # Route definitions
└── main.ts # App initialization
File size target: Keep components under 200 LOC for optimal context management.
- Create
src/pages/MyPage.vue - Add route to
src/router.ts - Add nav link to
src/components/AppSidebar.vue - (Optional) Create
src/data/my-data.json+ interface intypes.ts
See CLAUDE.md for component recipes and examples.
npm run upgrade-dsnpm run deploy # Build + push dist/ to gh-pages branchThen in repo Settings → Pages, set source to "Deploy from a branch" → gh-pages / / (root).
npm run build # Type check + minify
npm run preview # Test production build locally| Issue | Fix |
|---|---|
npm install fails with 401 |
Set Artifactory auth: npm config set //ankorstore.jfrog.io/artifactory/api/npm/npm-virtual/:_auth <TOKEN> |
| Port 3000 in use | Kill the process: lsof -ti:3000 | xargs kill -9 or change port in vite.config.ts |
| DS components not rendering | Verify @ankorstore/design-system CSS is imported in main.ts |
| Deployment to GitHub Pages fails | Ensure GitHub Pages source is set to gh-pages branch in repo settings |
See Deployment Guide for more detailed troubleshooting.