How to generate a file using command line - Stack Overflow
代言
代言 2017-06-12 09:28:34
0
1
747

Now I am working on an automated front-end process using webpack gulp. The other steps have been completed, and there is still the last step. I want to directly enter a command to generate an html, scss, and js file. How to achieve this?

代言
代言

reply all(1)
typecho

Use node’s fs module to write files
Use npm link to specify your own instructions on the command line
You need a commander for command line parameter processing (just npm install)
Attached is a good tutorial http://www.ruanyifeng. com/blo…

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!