JAMstack上的无头Wordpress
快速入门模板,可帮助您开始使用Headless WordPress
部署此模板
单击“部署到Netlify”按钮,然后可以对其进行配置以满足您的需求。
有。
构建设置
# install dependencies
$ npm install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm run
twk样板
Web Kitchen项目的前端样板。
安装
安装npm软件包的全局版本,以便您可以在任何地方使用它
npm install twk-boilerplate -g
用法
# navigate to the directory you want to install the boilerplate in, e.g:
cd /Applications/MAMP/htdocs/ /wp-content/themes/
# run the boilerplate command - np
nuxt-wp
Nuxt.js项目
构建设置
# install dependencies
$ npm install # Or yarn install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm run build
$ npm start
# generate static project
$ npm run generate
JAMstack上的无头Wordpress
快速模板让您开始使用Headless WordPress
部署此模板
单击“部署到Netlify”按钮,然后可以对其进行配置以满足您的需求。
有。
构建设置
# install dependencies
$ npm install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm run bui