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
|
|
|
```
|
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-05-06 11:11:45 +00:00
|
|
|
generate new SolidJS component:
|
|
|
|
```
|
2024-02-04 09:03:15 +00:00
|
|
|
npm run hygen component new NewComponentName
|
2023-05-06 11:11:45 +00:00
|
|
|
```
|
|
|
|
|
2023-02-10 09:40:44 +00:00
|
|
|
generate new SolidJS context:
|
2022-09-09 11:53:35 +00:00
|
|
|
```
|
2024-02-04 09:03:15 +00:00
|
|
|
npm run hygen context new NewContextName
|
2022-09-09 11:53:35 +00:00
|
|
|
```
|