mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-07-31 04:01:24 +08:00
| .. | ||
| e2e | ||
| scripts | ||
| src | ||
| .graphqlrc.yml | ||
| .prettierignore | ||
| .prettierrc | ||
| appreactsampleb2x.webapplication-meta.xml | ||
| CHANGELOG.md | ||
| codegen.yml | ||
| components.json | ||
| eslint.config.js | ||
| index.html | ||
| package.json | ||
| playwright.config.ts | ||
| README.md | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite-env.d.ts | ||
| vite.config.ts | ||
| vitest-env.d.ts | ||
| vitest.config.ts | ||
| vitest.setup.ts | ||
| webapplication.json | ||
App React Sample B2X
A sample B2X (Business-to-Consumer) React web app with an app shell for Salesforce Experience Cloud. Includes property listings, maintenance requests, and a dashboard. Built with React, Vite, TypeScript, and Tailwind/shadcn.
For project-level details (metadata, deploy, sample data), see the project README.
Prerequisites
npm install
Run (development)
npm run dev
Starts the Vite dev server (default: http://localhost:5173).
Build
npm run build
Writes the production bundle to dist/ inside the web app folder.
Test
npm test
Runs the unit test suite (Vitest).