Sign in

The problem of electronic Vue packaging

smokingkills edited in Sat, 14 Jan 2023

Is that the way everyone uses it??? I felt very big after packing electron Vue, and then I found that there were nodes in the app directory_ Modules folder, more than 150 m

That's all I depend on

 "echarts": "^4.7.0",

"element-ui": "^2.13.0",

"vue": "^2.6.11",

"vue-electron": "^1.0.6",

"vue-router": "^3.1.6",

"vuex": "^3.1.3"

Open node_ Modules folder, found so many things


Why? node_ Shouldn't modules be packaged here?

2 Replies
commented on Sat, 14 Jan 2023

Dependent dependence

commented on Sat, 14 Jan 2023

Guess it is node.js The dependency of the end, and the dependency of the dependency. Try to put things that can't be used on the product side into devdependencies.