wptrainingteam / devblog-dataviews-plugin

5 stars 0 forks source link

Dataviews Plugin

An exploration of using the Dataview component inside of a plugin

The process to build this project is explained in the following article of the WordPress Developer Blog:

Development

  1. Set up a local WordPress development environment.
  2. Clone / download this repository into the wp-content/plugins folder.
  3. Navigate to the wp-content/plugins/devblog-dataviews-plugin folder in the command line.
  4. Run npm install to install the plugin's dependencies within a /node_modules/ folder.
  5. Run npm run start to compile and watch source files for changes while developing.
  6. Login to your local WordPress development environment, navigate from Dashboard > Plugins and activate "DevBlog Dataviews Plugin"

Refer to package.json for additional commands.