← Winnitude! Search  ·  Reader Mode (695 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 94 LINKS

GitHub - solidjs/solid-start: SolidStart, the Solid app framework

Repository navigation

solid-start
Public

About

SolidStart, the Solid app framework

v1.solidjs.com/solid-start/v2/

Topics

file-system-routing fine-grained-reactivity meta-framework sdk signals solid-js solidjs solidstart spa ssr

Resources

Readme MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy Activity Custom properties

Stars

5.9k stars

Watchers

45 watching

Forks

420 forks Report repository
Branches

Tags
Go to Branches page Go to Tags page

Latest commit

 

History


2,566 Commits
View commit history for this file.

Folders and files

Name Name Last commit message Last commit date
.changeset .changeset    
.github .github    
.vscode .vscode    
apps apps    
packages/ start packages/ start    
scripts scripts    
.editorconfig .editorconfig    
.gitattributes .gitattributes    
.gitignore .gitignore    
.npmrc .npmrc    
.nvmrc .nvmrc    
.oxfmtrc.json .oxfmtrc.json    
.stackblitzrc .stackblitzrc    
CONTRIBUTING.md CONTRIBUTING.md    
LICENSE LICENSE    
README.md README.md    
package.json package.json    
pnpm-lock.yaml pnpm-lock.yaml    
pnpm-workspace.yaml pnpm-workspace.yaml    

Repository files navigation

Important

This is the branch for the SolidStart 2.0.0-alpha that is currently under heavy development.

Current SolidStart is maintained at 1.x .

Prerequisites

  • Node.js : Use the version specified in .nvmrc. To manage multiple versions across your system, we recommend a version manager such as fnm , or another of your choice.
  • pnpm : Install globally via npm install -g pnpm. Or let Corepack handle it in the setup step below.
  • Git : Ensure Git is installed for cloning and managing the repository.

Monorepo Structure

SolidStart is a pnpm-based monorepo with nested workspaces. Key directories include:

  • packages/start : The core @solidjs/start package.
  • apps/landing-page : The official landing page.
  • apps/tests : Unit and end-to-end (E2E) tests using Vitest and Playwright.
  • apps/fixtures : Fixture projects for testing.

Use pnpm filters (e.g. pnpm --filter @solidjs/start ...) to target specific packages.

Local Setup

  1. Clone the repository

    git clone https://github.com/solidjs/solid-start.git
    cd solid-start
  2. Enable the correct pnpm version specified in package.json

    corepack enable
  3. Install dependencies

    pnpm dedupe

    (pnpm dedupe will install dependencies and clean the lockfile from duplicates, useful for preventing conflicts).

  4. Build all packages and the landing page

    pnpm run build:all

If you encounter issues (e.g. missing node_modules), clean the workspace

pnpm run clean:all

Then reinstall dependencies and rebuild.

Running Tests

End-to-end tests are located in apps/tests projects. For manual testing and development use the apps/fixtures apps, and finally, integration and unit tests live inside their respective packages.

  1. Install the Chromium for Playwright binary (required only once)

    pnpm --filter tests exec playwright install chromium
  2. For unit tests that check build artifacts, build the test app first

    pnpm --filter tests run build
  3. Run unit tests (puts vitest in watch mode)

    pnpm --filter tests run unit
    • CI mode (run once): pnpm --filter tests run unit:ci
    • UI mode: pnpm --filter tests run unit:ui
  4. Run E2E tests

    pnpm --filter tests run e2e
    • UI mode: pnpm --filter tests run e2e:ui
  5. Clean test artifacts

    pnpm run clean:test

Development

  1. Make your changes in the relevant package (e.g. packages/start)

  2. Rebuild affected packages

    pnpm run packages:build

    For a full rebuild: pnpm run build:all

  3. Test your changes

    • For fixtures, pick the name of the fixture and run the dev with workspace filtering.
      pnpm --filter fixture-basic dev
    • For the landing page (from the root directory)
      pnpm run lp:dev
  4. Clean builds if needed

    pnpm run packages:clean # Cleans packages' node_modules and dist folders
    pnpm run lp:clean # Cleans the landing page
    pnpm run clean:root # Cleans root-level caches

If you have read all the way here, you're already a champ! 🏆 Thank you.

About

SolidStart, the Solid app framework

v1.solidjs.com/solid-start/v2/

Topics

file-system-routing fine-grained-reactivity meta-framework sdk signals solid-js solidjs solidstart spa ssr

Resources

Readme MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy Activity Custom properties

Stars

5.9k stars

Watchers

45 watching

Forks

420 forks Report repository

Releases

Used by

Contributors

Languages