hookehuyr

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

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