GitHub Action 178767af70 chore: generate 1 月之前
..
e2e 95e9407e63 test(app): fix e2e 1 月之前
public 889c60d63b fix(web): rename favicons to v2 for cache busting (#9492) 1 月之前
script f7f2d9700a test(app): fix e2e 1 月之前
src 178767af70 chore: generate 1 月之前
.gitignore 03d7467ea2 test(app): initial e2e test setup 1 月之前
AGENTS.md a71c40c717 fix(app): fix numbered list rendering in web markdown (#9723) 1 月之前
README.md 95e9407e63 test(app): fix e2e 1 月之前
bunfig.toml 794fe8f381 chore: rename packages/desktop -> packages/app 2 月之前
happydom.ts 794fe8f381 chore: rename packages/desktop -> packages/app 2 月之前
index.html 889c60d63b fix(web): rename favicons to v2 for cache busting (#9492) 1 月之前
package.json 0470717c7f feat(app): initial i18n stubbing 1 月之前
playwright.config.ts 03d7467ea2 test(app): initial e2e test setup 1 月之前
sst-env.d.ts 794fe8f381 chore: rename packages/desktop -> packages/app 2 月之前
tsconfig.json 76ac1ccb6b chore: show version on error page 1 月之前
vite.config.ts a7beba5aa9 chore(desktop): disable sourcemap 1 月之前
vite.js 82a876da4d chore: cleanup 1 月之前

README.md

Usage

Dependencies for these templates are managed with pnpm using pnpm up -Lri.

This is the reason you see a pnpm-lock.yaml. That said, any package manager will work. This file can safely be removed once you clone a template.

$ npm install # or pnpm install or yarn install

Learn more on the Solid Website and come chat with us on our Discord

Available Scripts

In the project directory, you can run:

npm run dev or npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.

npm run build

Builds the app for production to the dist folder.
It correctly bundles Solid in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

E2E Testing

Playwright starts the Vite dev server automatically via webServer, and UI tests need an opencode backend (defaults to localhost:4096). Use the local runner to create a temp sandbox, seed data, and run the tests.

bunx playwright install
bun run test:e2e:local
bun run test:e2e:local -- --grep "settings"

Environment options:

  • PLAYWRIGHT_SERVER_HOST / PLAYWRIGHT_SERVER_PORT (backend address, default: localhost:4096)
  • PLAYWRIGHT_PORT (Vite dev server port, default: 3000)
  • PLAYWRIGHT_BASE_URL (override base URL, default: http://localhost:<PLAYWRIGHT_PORT>)

Deployment

You can deploy the dist folder to any static host provider (netlify, surge, now, etc.)