reactjs

nextjs和wordpress介绍

日期:2019-07-02 阅读:150

相关: react和wordpress介绍

-----------------

https://webdevstudios.com/2019/01/03/headless-wordpress-with-react-and-nextjs-1/

$ mkdir nextjs
$ cd nextjs
$ npm init
$ npm install --save next react react-dom axios

----

"scripts": {
    "dev": "next -p 8080",
  "build": "next build",
  "start": "next start -p 8080"
},

 

<<点击返回