package.json
"scripts": {
...
"postinstall": "patch-package"
},
"dependencies": {
...
"@jiaminghi/data-view": "^2.10.0",
},
"devDependencies": {
...
"@jiaminghi/data-view": "^2.10.0",
"patch-package": "^7.0.0",
},
main.js
import dataV from '@jiaminghi/data-view'
app.use(dataV)
网友评论