smooth-backend-wordpress

Wordpress backend for Smooth.js.

Usage no npm install needed!

<script type="module">
  import smoothBackendWordpress from 'https://cdn.skypack.dev/smooth-backend-wordpress';
</script>

README

smooth-backend-wordpress

Wordpress backend for Smooth.js.

Install

npm install smooth-backend-wordpress

Usage

Edit smooth.config.js:

// smooth.config.js
module.exports = {
  plugins: [
    {
      resolve: 'smooth-backend-wordpress',
      options: {
        // Add any options here
      },
    },
  ],
}

Options

basePath

Wordpress directory.

baseUrl

Remote URL of the Wordpress.

homeUrl

URL of your website.