Go to file
Michael Zhang edf1e121fd
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
build
2023-04-30 12:32:54 -05:00
.vscode fleshing out apps a bit 2023-03-29 20:56:52 -05:00
apps/todos z 2023-03-29 22:30:17 -05:00
ci build docs 2023-03-30 00:55:56 -05:00
docs notes 2023-04-30 12:30:21 -05:00
nix fuck dioxus 2023-04-09 00:49:22 -05:00
prisma todo app crud 2023-04-18 16:44:44 -05:00
public Use solid-start 2023-04-18 14:38:22 -05:00
spec build docs 2023-03-30 00:55:56 -05:00
src add some more docs 2023-04-18 23:26:51 -05:00
.envrc fleshing out apps a bit 2023-03-29 20:56:52 -05:00
.gitignore docs 2023-04-18 15:05:36 -05:00
.tokeignore z 2023-03-29 22:30:17 -05:00
.woodpecker.yml lmao 2023-03-30 00:56:27 -05:00
flake.lock L 2023-03-31 16:31:41 -05:00
flake.nix Use solid-start 2023-04-18 14:38:22 -05:00
index.html a 2023-03-28 16:40:40 -05:00
LICENSE.md add license 2023-04-18 23:42:56 -05:00
Makefile build docs 2023-03-30 00:55:56 -05:00
package-lock.json update names 2023-04-18 23:29:43 -05:00
package.json update names 2023-04-18 23:29:43 -05:00
README.md Use solid-start 2023-04-18 14:38:22 -05:00
tsconfig.json Fix types 2023-04-18 20:08:13 -05:00
typedoc.config.cjs docs 2023-04-18 15:05:36 -05:00
vite.config.ts Use solid-start 2023-04-18 14:38:22 -05:00

SolidStart

Everything you need to build a Solid project, powered by solid-start;

Creating a project

# create a new project in the current directory
npm init solid@latest

# create a new project in my-app
npm init solid@latest my-app

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

Solid apps are built with adapters, which optimise your project for deployment to different environments.

By default, npm run build will generate a Node app that you can run with npm start. To use a different adapter, add it to the devDependencies in package.json and specify in your vite.config.js.