|
|
3 месяцев назад | |
|---|---|---|
| .. | ||
| .opencode | e1925f4fe8 docs: fix typos (#5753) | 4 месяцев назад |
| public | dfdd1c9b20 fix: load fonts the right way | 4 месяцев назад |
| script | dcaa90808e chore: format code | 5 месяцев назад |
| src | 947b864d96 wip: zen | 3 месяцев назад |
| .gitignore | 85d99198b5 Use devinxi-ed Solid Start (#4635) | 4 месяцев назад |
| README.md | 4ceabdffa0 wip: zen | 7 месяцев назад |
| package.json | 184834da98 release: v1.1.6 | 3 месяцев назад |
| sst-env.d.ts | 28c802f399 wip: zen | 4 месяцев назад |
| tsconfig.json | 85d99198b5 Use devinxi-ed Solid Start (#4635) | 4 месяцев назад |
| vite.config.ts | 85d99198b5 Use devinxi-ed Solid Start (#4635) | 4 месяцев назад |
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.