Created to use grommet with create-react-app. Grommet needs scss
preprocessor and unless you eject
there is no way to easily use with create-react-app
.
npm install grommet-css
# or
yarn add grommet-css
in App.js
import '../node_modules/grommet-css'
You can also fork this repo, make changes like including a different default grommet style in index.scss
or tweaking grommet scss variables.
Update the name in package.json
, run npm build
, then run npm publish
Use npm link
to link your fork to your main repo and npm start
to watch for changes.