An exploration of using the Dataview component inside of a plugin
- Set up a local WordPress development environment.
- Clone / download this repository into the
wp-content/plugins
folder. - Navigate to the
wp-content/plugins/devblog-dataview-plugin
folder in the command line. - Run
npm install
to install the plugin's dependencies within a/node_modules/
folder. - Run
composer install
to install the additional WordPress composer tools within a/vendor/
folder. - Run
npm run start
to compile and watch source files for changes while developing. - Login to your local WordPress development environment, navigate from Dashboard > Plugins and activate "Developer Blog: Dataviews Example"
Refer to package.json
and composer.json
for additional commands.