afv-library/samples/webapp-template-app-react-sample-b2x-experimental/force-app/main/default/webapplications/appreactsampleb2x/README.md

36 lines
688 B
Markdown
Raw Normal View History

# 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](../../../../../../README.md).
## Prerequisites
```bash
npm install
```
## Run (development)
```bash
npm run dev
```
Starts the Vite dev server (default: http://localhost:5173).
## Build
```bash
npm run build
```
Writes the production bundle to `dist/` inside the web app folder.
## Test
```bash
npm test
```
Runs the unit test suite (Vitest).