当前位置:网站首页>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
边栏推荐
- 根据csv文件某一列字符串中某个数字排序
- Colorlog combined with logging to print colored logs
- Huawei cloud OBS file upload and download tool class
- C语言 - 位段
- Bottom up - physical layer
- JVM performance tuning and practical basic theory - Part 1
- leetcode刷题 (5.29) 哈希表
- 1204 character deletion operation (2)
- [research materials] 2021 China online high growth white paper - Download attached
- 2022.02.13 - NC004. Print number of loops
猜你喜欢
随机推荐
704 二分查找
Use dumping to back up tidb cluster data to S3 compatible storage
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
Cisp-pte practice explanation
Leetcode question brushing (5.31) string
游戏解包的危害及资源加密的重要性
Report on Market Research and investment prospects of China's silver powder industry (2022 Edition)
C language - bit segment
3. File operation 3-with
Restore backup data on S3 compatible storage with tidb lightning
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
Modify the video name from the name mapping relationship in the table
China Light conveyor belt in-depth research and investment strategy report (2022 Edition)
Deep learning: derivation of shallow neural networks and deep neural networks
Configuring OSPF load sharing for Huawei devices
The resources of underground pipe holes are tight, and the air blowing micro cable is not fragrant?
How to use information mechanism to realize process mutual exclusion, process synchronization and precursor relationship
Synchronized solves problems caused by sharing
【刷题】牛客网面试必刷TOP101