当前位置:网站首页>egg. JS getting started navigation: installation, use and learning
egg. JS getting started navigation: installation, use and learning
2022-07-06 08:29:00 【Liu Chu, Ge Nian】
List of articles
egg Installation and use
Global switch mirror :
npm config set registry https://registry.npm.taobao.org
We recommend using scaffolding directly , Just a few simple instructions , You can quickly build projects (npm >=6.1.0
):
mkdir egg-example
cd egg-example
npm init egg --type=simple --registry https://registry.npm.taobao.org
among :type Options have the following values
Skeleton type | explain |
---|---|
simple | Simple egg Application skeleton |
empty | Empty egg Application skeleton |
plugin | egg plugin skeleton |
framework | egg framework skeleton |
During the installation process, information such as filling in the project name and author will appear , You can customize , You can also enter by default
Run the following statement again
npm i
Start project :
npm run dev
This is success
visit :http://localhost:7001
egg Study
Official website :https://www.eggjs.org/zh-CN
Official documents :https://www.eggjs.org/zh-CN/tutorials
API file ( english ):https://www.eggjs.org/api/index.html
边栏推荐
- LDAP Application Section (4) Jenkins Access
- IP lab, the first weekly recheck
- Permutation and combination function
- C language - bit segment
- What is the use of entering the critical point? How to realize STM32 single chip microcomputer?
- [2022 Guangdong saim] Lagrange interpolation (multivariate function extreme value divide and conquer NTT)
- Use dumping to back up tidb cluster data to S3 compatible storage
- ESP系列引脚说明图汇总
- China's high purity aluminum target market status and investment forecast report (2022 Edition)
- 按位逻辑运算符
猜你喜欢
随机推荐
游戏解包的危害及资源加密的重要性
从表中名称映射关系修改视频名称
All the ArrayList knowledge you want to know is here
从 SQL 文件迁移数据到 TiDB
1202 character lookup
FairGuard游戏加固:游戏出海热潮下,游戏安全面临新挑战
按位逻辑运算符
leetcode刷题 (5.28) 哈希表
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
Use br to back up tidb cluster data to S3 compatible storage
移位运算符
China vanadium battery Market Research and future prospects report (2022 Edition)
MySQL learning record 10getting started with JDBC
Leetcode skimming (5.29) hash table
Restore backup data on S3 compatible storage with br
【ROS】usb_cam相机标定
LDAP應用篇(4)Jenkins接入
Leetcode question brushing (5.31) string
Beijing invitation media
使用 BR 备份 TiDB 集群数据到兼容 S3 的存储