当前位置:网站首页>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
边栏推荐
- Migrate data from a tidb cluster to another tidb cluster
- 游戏解包的危害及资源加密的重要性
- China polyether amine Market Forecast and investment strategy report (2022 Edition)
- Nacos Development Manual
- logback1.3. X configuration details and Practice
- 从 CSV 文件迁移数据到 TiDB
- 【云原生】手把手教你搭建ferry开源工单系统
- 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
- Precise query of tree tree
- Circular reference of ES6 module
猜你喜欢
Analysis of pointer and array written test questions
Cisp-pte practice explanation
[MySQL] lock
2022.02.13 - 238. Maximum number of "balloons"
【刷题】牛客网面试必刷TOP101
2022 Inner Mongolia latest water conservancy and hydropower construction safety officer simulation examination questions and answers
ESP系列引脚說明圖匯總
Zhong Xuegao, who cannot be melted, cannot escape the life cycle of online celebrity products
Pointer advanced --- pointer array, array pointer
Deep learning: derivation of shallow neural networks and deep neural networks
随机推荐
leetcode刷题 (5.29) 哈希表
Yyds dry goods inventory three JS source code interpretation eventdispatcher
Hcip day 16
JVM 快速入门
Let the bullets fly for a while
Use br to back up tidb cluster data to S3 compatible storage
使用 BR 恢复 S3 兼容存储上的备份数据
面向个性化需求的在线云数据库混合调优系统 | SIGMOD 2022入选论文解读
LDAP應用篇(4)Jenkins接入
被破解毁掉的国产游戏之光
Chinese Remainder Theorem (Sun Tzu theorem) principle and template code
Leetcode question brushing (5.31) string
String to leading 0
Precise query of tree tree
Zhong Xuegao, who cannot be melted, cannot escape the life cycle of online celebrity products
ESP系列引脚說明圖匯總
游戏解包的危害及资源加密的重要性
On the day of resignation, jd.com deleted the database and ran away, and the programmer was sentenced
指针进阶---指针数组,数组指针
Use Alibaba icon in uniapp