1
0
mirror of synced 2025-12-09 10:37:55 +08:00

feat: 支持playground:vue2/playground:react命令

vue2 react runtime path 出错导致vue2 react playground运行出错;vue2中存在多个composition-api导致出错

fix #82 fix #68
This commit is contained in:
roymondchen
2022-05-25 17:03:01 +08:00
committed by jia000
parent 1601cefb7f
commit d84037e421
12 changed files with 119 additions and 131 deletions

View File

@@ -3,8 +3,10 @@
"version": "1.0.0-rc.3",
"private": true,
"scripts": {
"dev": "vite",
"build": "node --max_old_space_size=8192 node_modules/.bin/vite build",
"dev": "vite --mode vue3",
"dev:vue2": "vite --mode vue2",
"dev:react": "vite --mode react",
"build": "node --max_old_space_size=8192 node_modules/.bin/vite build --mode vue3",
"serve": "vite preview"
},
"dependencies": {