2023-02-10 09:40:44 +00:00
|
|
|
## How to start
|
|
|
|
```
|
2023-02-10 12:21:26 +00:00
|
|
|
npm install
|
|
|
|
npm start
|
2023-02-10 09:40:44 +00:00
|
|
|
```
|
|
|
|
with different backends
|
|
|
|
```
|
2023-02-10 12:21:26 +00:00
|
|
|
npm run start:local
|
|
|
|
npm run start:production
|
|
|
|
npm run start:staging
|
2023-02-10 09:40:44 +00:00
|
|
|
```
|
2022-11-27 18:36:45 +00:00
|
|
|
|
2023-02-10 09:40:44 +00:00
|
|
|
## Useful commands
|
|
|
|
run checks
|
|
|
|
```
|
2023-02-10 12:21:26 +00:00
|
|
|
npm run check
|
2023-02-10 09:40:44 +00:00
|
|
|
```
|
|
|
|
type checking with watch
|
|
|
|
```
|
2023-02-10 12:21:26 +00:00
|
|
|
npm run typecheck:watch
|
2023-02-10 09:40:44 +00:00
|
|
|
```
|
|
|
|
## Code generation
|
2022-11-27 18:36:45 +00:00
|
|
|
|
2023-02-10 09:40:44 +00:00
|
|
|
generate new SolidJS context:
|
2022-09-09 11:53:35 +00:00
|
|
|
```
|
2023-02-10 09:40:44 +00:00
|
|
|
npx hygen context new NewContextName
|
2022-09-09 11:53:35 +00:00
|
|
|
```
|