Create LICENSE
frontend backend separate develop. frontend main technology stack have Vue、Nuxt、axios、vueX、ElementUI,backend main technology stack have ThinkPHP、Jwt.
Vue
Nuxt
axios
vueX
ElementUI
ThinkPHP
Jwt
Need three domain,bind separately frontend、backend、interface.
First implement git clone https://github.com/sanqi377/qblog.git download to local.
git clone https://github.com/sanqi377/qblog.git
Tack interface catalogue upload to server. revise database connect to config/database.php, setting ThinkPHP pseudo static and bind domain.
interface
config/database.php
Tack command cd frontend go frontend catalogue.
cd frontend
revise api/axios.js internal baseURL to myself interface domain.
api/axios.js
baseURL
Then tack command:
npm install
if you want debug, then tack command npm run dev.
npm run dev
if you want build, then after tack command npm run build upload dist catalogue to you server bind domain.
npm run build
dist
Tack command cd backend go backend catalogue then after tack under command:
cd backend
小柒博客
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
Personal blog system
Project introduce
frontend backend separate develop. frontend main technology stack have
Vue
、Nuxt
、axios
、vueX
、ElementUI
,backend main technology stack haveThinkPHP
、Jwt
.Install tutorials
Need three domain,bind separately frontend、backend、interface.
First implement
git clone https://github.com/sanqi377/qblog.git
download to local.Interface build
Tack
interface
catalogue upload to server. revise database connect toconfig/database.php
, settingThinkPHP
pseudo static and bind domain.Frontend build
Tack command
cd frontend
go frontend catalogue.revise
api/axios.js
internalbaseURL
to myself interface domain.Then tack command:
if you want debug, then tack command
npm run dev
.if you want build, then after tack command
npm run build
uploaddist
catalogue to you server bind domain.Backend build
Tack command
cd backend
go backend catalogue then after tack under command:if you want debug, then tack command
npm run dev
.if you want build, then after tack command
npm run build
uploaddist
catalogue to you server bind domain.Demo site
小柒博客