Manually create and initialize a webpack-managed project

Mac terminal creation

1. Create a directory
> mkdir projectName
2. Create a package.json file
> npm init
3. Add webpack
> npm install webpack --save-dev


---------------- -------------------------------------------------- -
If there are any other questions or errors in the text, please point them out to me in time, so that
I can correct them in time and let us make progress together.
email : [email protected]
qq : 1035862795 Stepping
stone: Code composes life

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326508010&siteId=291194637