init: 初始化模板项目
This commit is contained in:
25
.codesandbox/tasks.json
Normal file
25
.codesandbox/tasks.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
// These tasks will run in order when initializing your CodeSandbox project.
|
||||
"setupTasks": [
|
||||
{
|
||||
"name": "Install Dependencies",
|
||||
"command": "yarn install"
|
||||
}
|
||||
],
|
||||
|
||||
// These tasks can be run from CodeSandbox. Running one will open a log in the app.
|
||||
"tasks": {
|
||||
"install": {
|
||||
"name": "install dependencies",
|
||||
"command": "yarn install"
|
||||
},
|
||||
"Development": {
|
||||
"name": "Development",
|
||||
"command": "yarn web",
|
||||
"runAtStart": true,
|
||||
"preview": {
|
||||
"port": 3000
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user