|
|
8 tháng trước cách đây | |
|---|---|---|
| .. | ||
| .opencode | 4ceabdffa0 wip: zen | 11 tháng trước cách đây |
| public | dfdd1c9b20 fix: load fonts the right way | 8 tháng trước cách đây |
| script | dcaa90808e chore: format code | 9 tháng trước cách đây |
| src | def910021d docs: add homebrew command for `opencode-desktop` (#5631) | 8 tháng trước cách đây |
| .gitignore | 85d99198b5 Use devinxi-ed Solid Start (#4635) | 8 tháng trước cách đây |
| README.md | 4ceabdffa0 wip: zen | 11 tháng trước cách đây |
| package.json | ef0fa2007b release: v1.0.164 | 8 tháng trước cách đây |
| sst-env.d.ts | 28c802f399 wip: zen | 8 tháng trước cách đây |
| tsconfig.json | 85d99198b5 Use devinxi-ed Solid Start (#4635) | 8 tháng trước cách đây |
| vite.config.ts | 85d99198b5 Use devinxi-ed Solid Start (#4635) | 8 tháng trước cách đây |
Everything you need to build a Solid project, powered by solid-start;
# 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
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
Solid apps are built with presets, 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 preset, add it to the devDependencies in package.json and specify in your app.config.js.