@wp-g2/cra-template-protokit

Prototype Starter Kit for G2 Components.

Usage no npm install needed!

<script type="module">
  import wpG2CraTemplateProtokit from 'https://cdn.skypack.dev/@wp-g2/cra-template-protokit';
</script>

README

Prototype Starter Kit for Create React App

Start experiencing the new (experimental) G2 Components project with this starter kit!

Video Tutorial

https://www.loom.com/share/7b0527a36f284568a9f1e7c1ab10fa42

We can start prototyping with G2 Components in 2 ways:

  1. CodeSandbox (Recommended)
  2. Create React App

CodeSandbox

To get started with the CodeSandbox template, click on the link below:

https://codesandbox.io/s/g2-prototype-sandbox-8ose4?file=/src/App.js

Create React App

To get started with a Create React App experience, run the following code in your Terminal:

npx create-react-app my-app --template @wp-g2/cra-template-protokit