当前位置:网站首页>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
边栏推荐
猜你喜欢

2022.02.13 - NC003. Design LRU cache structure

Online yaml to CSV tool

MySQL learning record 10getting started with JDBC

IP lab, the first weekly recheck

What is the use of entering the critical point? How to realize STM32 single chip microcomputer?

MySQL learning record 11jdbcstatement object, SQL injection problem and Preparedstatement object

Let the bullets fly for a while

Leetcode question brushing (5.28) hash table

Pointer advanced --- pointer array, array pointer

【MySQL】日志
随机推荐
JVM performance tuning and practical basic theory - Part 1
Unified ordering background interface product description Chinese garbled
华为云OBS文件上传下载工具类
MySQL learning records 12jdbc operation transactions
面向个性化需求的在线云数据库混合调优系统 | SIGMOD 2022入选论文解读
Mobile Test Engineer occupation yyds dry goods inventory
Migrate data from CSV files to tidb
Leetcode question brushing (5.28) hash table
Analysis of Top1 accuracy and top5 accuracy examples
游戏解包的危害及资源加密的重要性
3. File operation 3-with
使用 BR 恢复 S3 兼容存储上的备份数据
Résumé des diagrammes de description des broches de la série ESP
Hill sort c language
图像融合--挑战、机遇与对策
IOT -- interpreting the four tier architecture of the Internet of things
704 二分查找
ESP系列引脚说明图汇总
Deep learning: derivation of shallow neural networks and deep neural networks
Colorlog结合logging打印有颜色的日志