当前位置:网站首页>2020.12.4 log
2020.12.4 log
2022-08-09 02:03:00 【Robin Luo Bing】
1.
npm: Package manager for Nodejs.
webpack: Its main purpose is to prepare all the static resources that need to be published on the browser side through CommonJS syntax, such as merging and packaging of resources.
vue-cli: User-generated Vue project template.(To help you start a Vue project quickly, that is, to give you a set of Vue structure, including basic dependent libraries, you can install it only with npm install)
Start:
2. Detailed step-by-step tutorial for node.js installation:
https://blog.csdn.net/antma/article/details/86104068
https://www.cnblogs.com/lgx5/p/10732016.html
Be careful not to install the latest version by default when installing webpack: https://blog.csdn.net/weixin_43750031/article/details/84307507
3. Use node.js to build a server and access static web pages: https://www.cnblogs.com/pengshengguang/p/8318563.html
4. Introduction to nodejs server anywhere: https://www.cnblogs.com/cssfirefly/p/5736139.html
5, npm scripts usage guide: http://www.ruanyifeng.com/blog/2016/10/npm_scripts.html
6.
Commands to install and uninstall webpack and view versions:
## Install globally:
cnpm i webpack webpack-cli -g
## Partial installation:
cnpm i webpack webpack-cli -D
## Global uninstall
cnpm uninstall webpack webpack-cli -g
## Partial uninstall
cnpm uninstall webpack webpack-cli
##View local version
npx webpack -v
7. Experimental document: https://www.runoob.com/w3cnote/webpack-tutorial.html
The command of webpack runoob1.js bundle.js should be modified to: webpack ./runoob1.js -o ./dist .Because of the new version of webpack the command is modified.
8. Common commands of webpack:
[1.npm install webpack -g //Install webpack globally
[2.npm init -y // Initialize the default package.json file
[3.npm install webpack --save-dev //Download the webpack plugin to node_modules and fall in love with the webpack configuration content in the package.json file
[4.webpack //Package the project
[5.webpack --watch //Automatically monitor file changes
[6.webpack --display-modules //Display hidden modules when packing
[7.webpack --display-chunks //Display chunks when packing
【8.webpack --display-error-details //Display detailed error information
[9.npm install {whatever}-loader --save-dev //Install the loader and configure the loader into the package.json file
9, Webpack three packaging methods: https://blog.csdn.net/qq_25927437/article/details/85785533
10. The meaning of npm --save: https://www.jianshu.com/p/437ad603d49d
11. The difference between npm local installation and global installation files: https://blog.csdn.net/u013594477/article/details/79861404
边栏推荐
- 2022 PMP Project Management Certification Exam Registration Guide (1)
- JDBC technology (1) - a simple JDBC test
- 软件测试的调用接口怎么调用,逻辑是什么?
- typescript91-添加任务基本实现
- 进程和线程
- 2022中国眼博会,中国北京国际儿童青少年眼睛健康产业展览会
- 425 Can‘t open data connection for transfer of “/“
- New Swagger3.0 tutorial, OAS3 quick configuration guide, to automate API interface documentation!
- 线段树知识整理
- Using ngrok on Raspberry Pi (Extra 2)
猜你喜欢

The Best Open Source Web Application Firewall to Protect Your Web Applications

425 Can‘t open data connection for transfer of “/“

解决有路由策略的情况下域内NAT不通的问题

《LC刷题总结》—— 二叉树

ROS2 ERROR: OpenGL 1.5 is not supported in GLRenderSystem::initialiseContext at C:\ci\ws\build...

MAYA发动机建模

TCP/IP协议栈

Grid布局介绍
![ONNX是什么?怎么用?[简明解读版]](/img/e3/ce8c24e43c90dda6a391b52246537b.png)
ONNX是什么?怎么用?[简明解读版]

JDBC technology (2) - set up common sql and configuration files
随机推荐
配置文件的读取-TOML
LeetCode每日两题01:有序数组的平方 (均1200道)方法:双指针
企业里Foxmail邮箱问题解决方法汇总
MT4/MQL4入门到精通EA教程第一课-MQL语言常用函数(一)OrderSend()函数
基于机器学习之模型树短期负荷预测(Matlab代码实现)
Image denoising based on edge enhancement Diffusion 】 (cEED) and Coherence Enhancing coursing together (cCED) filter to realize image denoising matlab code
OpenMLDB + Jupyter Notebook:快速搭建机器学习应用
yii2的安装之路
Phenomenon 1 during RF debugging
ROS2 ERROR: OpenGL 1.5 is not supported in GLRenderSystem::initialiseContext at C:\ci\ws\build...
2022护眼产品展,北京眼健康展,眼科医学展,近视矫正设备展
2022 PMP Project Management Certification Exam Registration Guide (1)
[Signal denoising] Based on Sage-Husa adaptive Kalman filter to realize the suppression of ocean wave magnetic field noise and the generation of ocean wave magnetic field noise with matlab code
.reduce()的简单例子
LeetCode每日两题02:轮转数组 (均1200道)
方法参数
在树莓派上使用cpolar(番外篇2)
数据库设计的总结
多语种翻译-免费多语种翻译软件
虹科技术|如何阻止供应链攻击?