hookehuyr

chore: 更新 package.json 脚本以使用指定 Node 版本并注释掉 CourseDetailPage.vue 中的分享按钮

更新 package.json 中的 dev 和 build 脚本,确保使用指定的 Node 版本 18.19.1。此外,注释掉 CourseDetailPage.vue 中的分享按钮代码,以简化界面。
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
4 "version": "0.0.0", 4 "version": "0.0.0",
5 "type": "module", 5 "type": "module",
6 "scripts": { 6 "scripts": {
7 - "dev": "vite", 7 + "dev": ". ~/.nvm/nvm.sh && nvm use 18.19.1 && vite",
8 - "build": "vite build", 8 + "build": ". ~/.nvm/nvm.sh && nvm use 18.19.1 && vite build",
9 "preview": "vite preview", 9 "preview": "vite preview",
10 "tar": "tar -czvpf dist.tar.gz mlaj", 10 "tar": "tar -czvpf dist.tar.gz mlaj",
11 "build_tar": "npm run build && npm run tar", 11 "build_tar": "npm run build && npm run tar",
......
...@@ -202,7 +202,7 @@ ...@@ -202,7 +202,7 @@
202 </svg> 202 </svg>
203 咨询 203 咨询
204 </button> --> 204 </button> -->
205 - <button class="flex flex-col items-center text-gray-500 text-xs"> 205 + <!-- <button class="flex flex-col items-center text-gray-500 text-xs">
206 <svg 206 <svg
207 xmlns="http://www.w3.org/2000/svg" 207 xmlns="http://www.w3.org/2000/svg"
208 class="h-6 w-6" 208 class="h-6 w-6"
...@@ -218,7 +218,7 @@ ...@@ -218,7 +218,7 @@
218 /> 218 />
219 </svg> 219 </svg>
220 分享 220 分享
221 - </button> 221 + </button> -->
222 <button class="flex flex-col items-center text-gray-500 text-xs"> 222 <button class="flex flex-col items-center text-gray-500 text-xs">
223 <svg 223 <svg
224 xmlns="http://www.w3.org/2000/svg" 224 xmlns="http://www.w3.org/2000/svg"
......