基於SaaS平臺的iHRM項目的前端項目介紹

1.下載安裝node.js

訪問https://nodejs.org/en,而後下載安裝便可前端

image.png

2. 查看是否安裝成功

打開cmd命令行,輸入node -vnode

若是出現對應的版本號,即爲安裝成功git

image.png

3.從Git上下載項目

打開https://github.com/Han-YLun/SaaS_IHRM_Vue,將項目下載下來github

能夠導入到編譯器中,我這邊選擇的是VsCodenpm

image.png

4.運行項目

在終端中分別輸入下面命令,用於安裝所需的依賴包後端

cnpm install 
cnpm install mockjs
npm run dev

執行完可看到下面頁面命令行

image.png

訪問http://www.javashuo.com/tag/http://localhost:8080看到下面頁面,便可顯示成功code

5.總結

當前是前端項目部署成功,若是是前端同窗,能夠寫mock數據進行登錄使用。xml

若是是後端同窗,須要後端項目運行+運行Redis才能夠訪問。blog

項目前端代碼:https://github.com/Han-YLun/SaaS_IHRM_Vue

項目後端代碼:https://github.com/Han-YLun/SaaS_IHRM

相關文章
相關標籤/搜索