You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/class-solid/README.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,3 +48,16 @@ pnpm test -- --ui --headed
48
48
This allows you to trigger tests from the [playwright ui](https://playwright.dev/docs/test-ui-mode) and enable [watch mode](https://playwright.dev/docs/test-ui-mode#watch-mode).
49
49
50
50
## This project was created with the [Solid CLI](https://solid-cli.netlify.app)
51
+
52
+
## Presets
53
+
54
+
An experiment can get started from a preset.
55
+
56
+
The presets are stored in the `src/lib/presets/` directory.
57
+
The format is JSON with content adhering to the [JSON schema](https://github.com/classmodel/class-web/blob/main/packages/class/src/config.json).
58
+
59
+
The `src/lib/presets.ts` is used as an index of presets.
60
+
If you add a preset the `src/lib/presets.ts` file needs to be updated.
61
+
62
+
An experiment from a preset can be opened from a url like `?preset=<preset-name>`.
63
+
For example to load <src/lib/presets/death-valley.json> use `http://localhost:3000/?preset=Death%20Valley`.
0 commit comments