Skip to content

matt-sm/hello-uikit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published