docs(examples): add codesandbox configuration

This commit is contained in:
Damien Arrachequesne
2023-09-20 12:57:37 +02:00
parent ccbb4c0773
commit b4dc83eb9b
4 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1 @@
FROM node:20-bullseye

View File

@@ -0,0 +1,18 @@
{
// These tasks will run in order when initializing your CodeSandbox project.
"setupTasks": [
{
"name": "Install Dependencies",
"command": "npm install"
}
],
// These tasks can be run from CodeSandbox. Running one will open a log in the app.
"tasks": {
"npm start": {
"name": "npm start",
"command": "npm start",
"runAtStart": true
}
}
}

View File

@@ -0,0 +1 @@
FROM node:20-bullseye

View File

@@ -0,0 +1,18 @@
{
// These tasks will run in order when initializing your CodeSandbox project.
"setupTasks": [
{
"name": "Install Dependencies",
"command": "npm install"
}
],
// These tasks can be run from CodeSandbox. Running one will open a log in the app.
"tasks": {
"npm start": {
"name": "npm start",
"command": "npm start",
"runAtStart": true
}
}
}