摘要: https://github.com/remy/nodemon#config-files https://github.com/remy/nodemon/blob/master/doc/sample-nodemon.md { "watch": ["src"], "ext": "html,vue,js 阅读全文
posted @ 2020-12-23 18:25 ChuckLu 阅读(365) 评论(0) 推荐(0)
摘要: How to parse command line arguments Passing in arguments via the command line is an extremely basic programming task, and a necessity for anyone tryin 阅读全文
posted @ 2020-12-23 18:21 ChuckLu 阅读(3783) 评论(0) 推荐(0)
摘要: Nodejs cannot find installed module on Windows 问题 I am learning nodejs at the moment on Windows. Several modules are installed globally with npm.cmd, 阅读全文
posted @ 2020-12-23 18:02 ChuckLu 阅读(157) 评论(0) 推荐(0)
摘要: What's the difference between dependencies, devDependencies and peerDependencies in npm package.json file? Summary of important behavior differences: 阅读全文
posted @ 2020-12-23 16:11 ChuckLu 阅读(117) 评论(0) 推荐(0)
摘要: An Absolute Beginner's Guide to Using npm Using npm effectively is a cornerstone of modern web development, no matter if it's exclusively with Node.js 阅读全文
posted @ 2020-12-23 16:02 ChuckLu 阅读(147) 评论(0) 推荐(0)
摘要: https://github.com/sindresorhus/ora Elegant terminal spinner https://github.com/isaacs/rimraf A `rm -rf` util for nodejs https://github.com/jinder/pat 阅读全文
posted @ 2020-12-23 13:41 ChuckLu 阅读(119) 评论(0) 推荐(0)
摘要: Installation Warning regarding Previous Versions The package name changed from vue-cli to @vue/cli. If you have the previous vue-cli (1.x or 2.x) pack 阅读全文
posted @ 2020-12-23 13:33 ChuckLu 阅读(125) 评论(0) 推荐(0)
摘要: NPM self_signed_cert_in_chain If you're behind the corporate proxy (which uses e.g. Blue Coat), you should use http instead of https for repository ad 阅读全文
posted @ 2020-12-23 13:31 ChuckLu 阅读(762) 评论(0) 推荐(0)
摘要: 'cnpm' is not recognized as an internal or external command 切换administrator账号cnpm不识别 解决: npm install -g cnpm --registry=https://registry.npm.taobao.or 阅读全文
posted @ 2020-12-23 13:29 ChuckLu 阅读(2397) 评论(0) 推荐(0)
摘要: nodemon command is not recognized in terminal for node js server You need to install it globally npm install -g nodemon # or if using yarn yarn global 阅读全文
posted @ 2020-12-23 12:40 ChuckLu 阅读(219) 评论(0) 推荐(0)
摘要: What do these three dots in React do? 回答1 That's property spread notation. It was added in ES2018 (spread for arrays/iterables was earlier, ES2015), b 阅读全文
posted @ 2020-12-23 12:38 ChuckLu 阅读(97) 评论(0) 推荐(0)
摘要: https://webpack.js.org/guides/getting-started/ Getting Started webpack is used to compile JavaScript modules. Once installed, you can interact with we 阅读全文
posted @ 2020-12-23 11:13 ChuckLu 阅读(115) 评论(0) 推荐(0)
摘要: Remove console.logs with Webpack & Uglify 回答1 With UglifyJsPlugin we can handle comments, warnings, console logs but it will not be a good idea to rem 阅读全文
posted @ 2020-12-23 10:54 ChuckLu 阅读(298) 评论(0) 推荐(0)