matt-sm / hello-uikit

ui-kit + create-react-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ui-kit with Create React App

Steps:

  1. Run create-react-app on a new repo
  2. Follow the instructions here to setup sass preprocessor
  3. Add some uikit: yarn add @gov.au/body @gov.au/header @gov.au/footer @gov.au/buttons
  4. Modify package.json to rename pancake.scss and build to src/:
"sass": {
      "modules": false,
      "location": "src/",
      "name": "uikit.scss"
    }
  1. Re-run pancake: node_modules/@govau/pancake/bin/pancake
  2. Change index.scss to @import "uikit";
  3. Start using uikit styles eg <body class="uikit-body">
  4. yarn start

About

ui-kit + create-react-app


Languages

Language:JavaScript 66.8%Language:HTML 32.3%Language:CSS 0.9%