Skip to content

Tim0124/express-work

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

express 路由設定

使用 express 設定基本路由,切換分頁

功能

在導覽列上分別有四個項目

  • 首頁
  • About
  • Portfolio
  • Contact 點擊後會分別進入到該分頁的頁面

開始使用

  1. 將專案 clone 到本地
  2. 在終端機進入資料夾,輸入:
npm install
  1. 安裝完後,輸入:
npm run start
  1. 看到以下這行,代表成功進入,複製以下網址至瀏覽器開啟
Express is running on http://localhost:3000
  1. 若要暫停伺服器
ctrl + c

開發工具

  1. Node.js @14.16.0
  2. Express @4.16.4
  3. Express-handlebars @3.0.0
  4. npm @6.14.11

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published