Browse Source

chore: playground auto install deps

alvarosabu 2 năm trước cách đây
mục cha
commit
2f564bbd1c
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      package.json

+ 2 - 1
package.json

@@ -50,7 +50,8 @@
     "lint": "eslint . --ext .js,.jsx,.ts,.tsx,.vue",
     "docs:dev": "vitepress dev docs",
     "docs:build": "vitepress build docs",
-    "docs:serve": "vitepress serve docs"
+    "docs:serve": "vitepress serve docs",
+    "postinstall": "cd playground && pnpm install"
   },
   "peerDependencies": {
     "three": "latest",