唐渝林 7 mēneši atpakaļ
vecāks
revīzija
3488d87020
2 mainītis faili ar 17 papildinājumiem un 1 dzēšanām
  1. 15 0
      .vscode/launch.json
  2. 2 1
      package.json

+ 15 - 0
.vscode/launch.json

@@ -0,0 +1,15 @@
+{
+    // 使用 IntelliSense 了解相关属性。 
+    // 悬停以查看现有属性的描述。
+    // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
+    "version": "0.2.0",
+    "configurations": [
+        {
+            "type": "chrome",
+            "request": "launch",
+            "name": "针对 localhost 启动 Chrome",
+            "url": "http://localhost:3000",
+            "webRoot": "${workspaceFolder}"
+        }
+    ]
+}

+ 2 - 1
package.json

@@ -12,11 +12,12 @@
     "@types/node": "^14.18.63",
     "@types/react": "^17.0.83",
     "@types/react-dom": "^17.0.25",
-    "typescript": "^4.9.5",
     "react": "^18.3.1",
     "react-dom": "^18.3.1",
     "react-router-dom": "^6.27.0",
     "react-scripts": "5.0.1",
+    "react-zl365": "file:",
+    "typescript": "^4.9.5",
     "web-vitals": "^2.1.4"
   },
   "scripts": {