当前位置:网站首页>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
边栏推荐
- [research materials] 2021 Research Report on China's smart medical industry - Download attached
- C语言自定义类型:结构体
- Chinese Remainder Theorem (Sun Tzu theorem) principle and template code
- 移位运算符
- 【MySQL】鎖
- 【刷题】牛客网面试必刷TOP101
- LDAP應用篇(4)Jenkins接入
- synchronized 解决共享带来的问题
- Day29-t77 & t1726-2022-02-13-don't answer by yourself
- Leetcode question brushing (5.31) string
猜你喜欢

ESP series pin description diagram summary

2022.02.13 - NC004. Print number of loops

matplotlib. Widgets are easy to use

Nacos Development Manual
![[research materials] 2022 enterprise wechat Ecosystem Research Report - Download attached](/img/35/898a8086bc35462b0fcb9e6b58b86b.jpg)
[research materials] 2022 enterprise wechat Ecosystem Research Report - Download attached
![[brush questions] top101 must be brushed in the interview of niuke.com](/img/55/5ca957e65d48e19dbac8043e89e7d9.png)
[brush questions] top101 must be brushed in the interview of niuke.com

MySQL learning records 12jdbc operation transactions

被破解毁掉的国产游戏之光

【MySQL】鎖

3. File operation 3-with
随机推荐
Wincc7.5 download and installation tutorial (win10 system)
使用 BR 备份 TiDB 集群数据到兼容 S3 的存储
Use dumping to back up tidb cluster data to S3 compatible storage
【ROS】usb_cam相机标定
使用 TiDB Lightning 恢复 S3 兼容存储上的备份数据
Leetcode skimming (5.29) hash table
[research materials] 2022 China yuancosmos white paper - Download attached
远程存储访问授权
MySQL learning record 11jdbcstatement object, SQL injection problem and Preparedstatement object
JVM performance tuning and practical basic theory - Part 1
Leetcode question brushing (5.31) string
Fibonacci sequence
2022 Inner Mongolia latest construction tower crane (construction special operation) simulation examination question bank and answers
String to leading 0
[secretly kill little partner pytorch20 days -day01- example of structured data modeling process]
Day29-t77 & t1726-2022-02-13-don't answer by yourself
[research materials] 2021 Research Report on China's smart medical industry - Download attached
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
Configuring OSPF load sharing for Huawei devices
[cloud native topic -45]:kubesphere cloud Governance - Introduction and overall architecture of enterprise container platform based on kubernetes