matthewroach / theme-components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Theme Components

Getting Started

  • Install dependencies npm i
  • Run storybook npm run storybook

Creating a new component

In order to create a new component with all the relevant files there is a generator that takes the hassle away from yourself.

npm run component:new -- {componentName}

To create a new component: button run the following command

npm run component:new -- button

The folder structure and base files to get you going are then created in src/components/button/

npmrc

@matthewroach:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=

About


Languages

Language:JavaScript 51.2%Language:SCSS 42.5%Language:EJS 4.7%Language:HTML 1.3%Language:Shell 0.3%