MatiseAms / create-matise-wordpress

Epic Matise Wordpress project startup
MIT License
0 stars 1 forks source link

Create Matise Wordpress App

NPM version NPM downloads

Create a Matise Wordpress project

Usage

Make sure you have npx installed (npx is shipped by default since NPM 5.2.0)

npx create-matise-wordpress <my-project>

Activating /wp-json

After setup change permalink settings to post name, change homepage display to a static page and activate your theme.

Credits

Critical information

This package uses SAO v0.22.17 which to my knowledge does not support async data functions (sao.js ln28). So what i did to fix this is copy the lib/index.js and lib/generate.js from the sao node_module and added some async await keywords to support this. The same thing goes for the kopy.js in the kopy node_module. So if anything breaks in future versions, this might have something to do with it.