33 lines
432 B
Markdown
33 lines
432 B
Markdown
## How to start
|
|
```
|
|
npm install
|
|
npm start
|
|
```
|
|
with different backends
|
|
```
|
|
npm run start:local
|
|
npm run start:production
|
|
npm run start:staging
|
|
```
|
|
|
|
## Useful commands
|
|
run checks
|
|
```
|
|
npm run check
|
|
```
|
|
type checking with watch
|
|
```
|
|
npm run typecheck:watch
|
|
```
|
|
## Code generation
|
|
|
|
generate new SolidJS component:
|
|
```
|
|
npx hygen component new NewComponentName
|
|
```
|
|
|
|
generate new SolidJS context:
|
|
```
|
|
npx hygen context new NewContextName
|
|
```
|