2023-02-10 10:40:44 +01:00
|
|
|
## How to start
|
|
|
|
```
|
2023-02-10 13:21:26 +01:00
|
|
|
npm install
|
|
|
|
npm start
|
2023-02-10 10:40:44 +01:00
|
|
|
```
|
2022-11-27 21:36:45 +03:00
|
|
|
|
2023-02-10 10:40:44 +01:00
|
|
|
## Useful commands
|
2024-02-15 14:46:11 +03:00
|
|
|
|
|
|
|
run checks with your favorite package manager: npm, yarn, pnpm or bun
|
|
|
|
|
2023-02-10 10:40:44 +01:00
|
|
|
```
|
2023-02-10 13:21:26 +01:00
|
|
|
npm run check
|
2023-02-10 10:40:44 +01:00
|
|
|
```
|
2024-02-15 14:46:11 +03:00
|
|
|
|
2024-02-05 11:59:21 +03:00
|
|
|
fix styles, imports, formatting and autofixable linting errors:
|
2024-02-15 14:46:11 +03:00
|
|
|
|
2024-02-05 11:59:21 +03:00
|
|
|
```
|
|
|
|
npm run fix
|
|
|
|
```
|
2024-02-15 14:46:11 +03:00
|
|
|
|
2023-02-10 10:40:44 +01:00
|
|
|
## Code generation
|
2022-11-27 21:36:45 +03:00
|
|
|
|
2023-05-06 13:11:45 +02:00
|
|
|
generate new SolidJS component:
|
|
|
|
```
|
2024-02-04 12:03:15 +03:00
|
|
|
npm run hygen component new NewComponentName
|
2023-05-06 13:11:45 +02:00
|
|
|
```
|
|
|
|
|
2023-02-10 10:40:44 +01:00
|
|
|
generate new SolidJS context:
|
2022-09-09 14:53:35 +03:00
|
|
|
```
|
2024-02-04 12:03:15 +03:00
|
|
|
npm run hygen context new NewContextName
|
2022-09-09 14:53:35 +03:00
|
|
|
```
|