frontend backend separate develop. frontend main technology stack have Vue
、Nuxt
、axios
、vueX
、ElementUI
,backend main technology stack have ThinkPHP
、Jwt
.
Need three domain,bind separately frontend、backend、interface.
First implement git clone https://github.com/sanqi377/qblog.git
download to local.
Tack interface
catalogue upload to server. revise database connect to config/database.php
, setting ThinkPHP
pseudo static and bind domain.
Tack command cd frontend
go frontend catalogue.
revise api/axios.js
internal baseURL
to myself interface domain.
Then tack command:
npm install
if you want debug, then tack command npm run dev
.
if you want build, then after tack command npm run build
upload dist
catalogue to you server bind domain.
Tack command cd backend
go backend catalogue then after tack under command:
npm install
if you want debug, then tack command npm run dev
.
if you want build, then after tack command npm run build
upload dist
catalogue to you server bind domain.