Replies: 1 comment
|
It would be awesome to have support for It seems that the {
"installDependencies": true,
"startCommand": "npm run test:ui"
}
This will not work if you use the "open from github" functionality where you just replace |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The original idea is from @antfu. In Vitest we are using StackBlitz to add online playgrounds for the examples. See https://vitest.dev/guide/#examples.
In each example in https://github.com/vitest-dev/vitest/tree/main/examples, we need to add a
.stackblitzrcfile. This increases the cognitive load for new users because they need to understand this extra file. In some examples, a project may have only a handful of files so adding another one is not free.An idea to avoid this issue would be to allow to configure the playground with a
stackblitzfield inpackage.json. This is standard for other tools like prettier, eslint, etc.All reactions