一个基于Vue.js 与 WordPress Rest API 构建的单页demo
在项目目录下找到src/api/api.js文件,修改
let base = 'http://example.com/wp-json/wp/v2';
中的http://example.com为您自己的网址
# 安装依赖
npm install
# 本地启动 localhost:8888
npm run serve
# 打包
npm run build
| Name | Name | Last commit date | ||
|---|---|---|---|---|
一个基于Vue.js 与 WordPress Rest API 构建的单页demo
在项目目录下找到src/api/api.js文件,修改
let base = 'http://example.com/wp-json/wp/v2';
中的http://example.com为您自己的网址
# 安装依赖
npm install
# 本地启动 localhost:8888
npm run serve
# 打包
npm run build