当前位置:网站首页>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
边栏推荐
- Circular reference of ES6 module
- Grayscale upgrade tidb operator
- Chinese Remainder Theorem (Sun Tzu theorem) principle and template code
- C语言 - 位段
- leetcode刷题 (5.28) 哈希表
- Migrate data from SQL files to tidb
- 化不掉的钟薛高,逃不出网红产品的生命周期
- 2022 Inner Mongolia latest construction tower crane (construction special operation) simulation examination question bank and answers
- IP lab, the first weekly recheck
- Use Alibaba icon in uniapp
猜你喜欢

Precise query of tree tree

Use Alibaba icon in uniapp

Wincc7.5 download and installation tutorial (win10 system)

On the day of resignation, jd.com deleted the database and ran away, and the programmer was sentenced

ESP系列引脚說明圖匯總

面向个性化需求的在线云数据库混合调优系统 | SIGMOD 2022入选论文解读

【MySQL】数据库的存储过程与存储函数通关教程(完整版)

Pyqt5 development tips - obtain Manhattan distance between coordinates

Roguelike游戏成破解重灾区,如何破局?

Hcip day 16
随机推荐
使用 BR 恢复 S3 兼容存储上的备份数据
Pyqt5 development tips - obtain Manhattan distance between coordinates
移位运算符
2022.02.13 - 238. Maximum number of "balloons"
Let the bullets fly for a while
【MySQL】数据库的存储过程与存储函数通关教程(完整版)
ESP series pin description diagram summary
Permutation and combination function
使用 BR 备份 TiDB 集群数据到兼容 S3 的存储
On the day of resignation, jd.com deleted the database and ran away, and the programmer was sentenced
JVM 快速入门
ESP系列引脚说明图汇总
sys.argv
Convolution, pooling, activation function, initialization, normalization, regularization, learning rate - Summary of deep learning foundation
Yyds dry goods inventory three JS source code interpretation eventdispatcher
图像融合--挑战、机遇与对策
Upgrade tidb operator
pcd转ply后在meshlab无法打开,提示 Error details: Unespected eof
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
[secretly kill little partner pytorch20 days -day01- example of structured data modeling process]