@5dpharma/create-fd-app
v1.0.3
Published
Scaffold a new 5D Next.js product app with shell, Docker/CICD, and @5dpharma/ui
Maintainers
Readme
@5dpharma/create-fd-app
Scaffold a new 5D Next.js product with:
- App shell (Sidebar / Header) — owned by the product
@5dpharma/uidesign system from npm- Docker +
CICD/.env(fdcr-style) - No local shadcn tree
Usage
npx @5dpharma/create-fd-app fd-inventory-ui
# optional custom docker service name:
npx @5dpharma/create-fd-app fd-inventory-ui --service inventoryuiThen:
cd fd-inventory-ui
npm install
npm run devAfter scaffold
- Customize
src/app/(DashboardLayout)/layout/sidebar/Sidebaritems.ts - Add domain modules under
src/app/(DashboardLayout)/… - Public assets ship with the template (
favicon.ico,public/images/**). UseassetPath()for Image/favicon URLs. - Subpath deploy (e.g.
/dms): setbasePathinnext.config.mjs(keepsNEXT_PUBLIC_BASE_PATHin sync) - Need a new shared UI component? Contribute to
@5dpharma/uiinfd-frontend-platform
