Create
Here is a way to start a new WordPress plugin, theme, or site.
npm create tangible@latest
It runs a tool called create-tangible
(Git repository), which asks a few questions to start a new project.
? Select project type (Use arrow keys)
❯ WordPress plugin
WordPress theme
WordPress site
Static HTML Page
? Project name
? Project title
? Project description
It creates the project folder, and copies the contents of a starter template based on project type. It runs npm install
and roll install
to prepare NPM packages and other dependencies like Framework and Updater .
Create project "example"
Copy template type plugin
Install dependencies
$ roll install
Cloning into 'framework'...
Cloning into 'updater'...
Start by running:
cd example
npm run start
As indicated, change to the project directory and run the start
script. This serves a self-contained local site running on WordPress Playground.