开封海绵H5项目

@鲁yixuan 鲁yixuan authored on 16 Jul
public updata 5 months ago
src 1 5 months ago
.gitignore update 7 months ago
.prettierrc 项目初始化 7 months ago
README.md 项目初始化 7 months ago
index.html update 7 months ago
package.json updata 5 months ago
vite.config.js 1 5 months ago
README.md

node 运行版本

v18.12.1

npm 运行版本

8.19.2

安装插件

npm install

运行

npm run dev

打包

npm run build

Failed to resolve entry for package "vue3-video-play". The package may have incorrect main/module/exports specified in its package.json.

解决办法:node_modules\vue3-video-play\package.json 将 package.json 中 "module": "./dist/index.es.js"改为"module": "./dist/index.mjs"