31 lines
425 B
Markdown
31 lines
425 B
Markdown
## How to start
|
|
```
|
|
npm install
|
|
npm start
|
|
```
|
|
|
|
## Useful commands
|
|
run checks
|
|
```
|
|
npm run check
|
|
```
|
|
type checking with watch
|
|
```
|
|
npm run typecheck:watch
|
|
```
|
|
fix styles, imports, formatting and autofixable linting errors:
|
|
```
|
|
npm run fix
|
|
```
|
|
## Code generation
|
|
|
|
generate new SolidJS component:
|
|
```
|
|
npm run hygen component new NewComponentName
|
|
```
|
|
|
|
generate new SolidJS context:
|
|
```
|
|
npm run hygen context new NewContextName
|
|
```
|