chisel-plugin-wordpress

TODO

Usage no npm install needed!

<script type="module">
  import chiselPluginWordpress from 'https://cdn.skypack.dev/chisel-plugin-wordpress';
</script>

README

chisel-plugin-wordpress

Modifies chisel-scripts' webpack config with copying of assets and generation of json manifest used to link assets from WordPress templates.

Injected Commands

  • chisel-scripts dev

    Uses Browsersync in combination with webpack-dev-middleware and webpack-hot-middleware to provide good development experience.

    Usage: chisel-scripts dev [options]
    
    start development server
    
  • chisel-scripts wp

    Usage: chisel-scripts wp [options]
    
    run WP-CLI command
    
  • chisel-scripts wp-config

    Usage: chisel-scripts wp-config [options]
    
    configure WP (writes wp/wp-config-local.php an dev-vhost.conf)
    
  • chisel-scripts add-page

    Usage: chisel-scripts add-page [options] <page...>
    
    add page(s) (creates twig templates and entries in WP)