Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support react-scripts@4 #22

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
npm-debug.log*
coverage/
node_modules/
.history/
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@
[![codecov](https://codecov.io/gh/jedmao/craco-linaria/branch/master/graph/badge.svg)](https://codecov.io/gh/jedmao/craco-linaria)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)

A [craco](https://www.npmjs.com/package/@craco/craco) plugin to use [Linaria][]
zero-runtime CSS in JS library in a create react app.
A [craco](https://www.npmjs.com/package/@craco/craco) plugin to use
[Linaria v2](https://github.com/callstack/linaria/tree/2.0.x) zero-runtime CSS
in JS library in a Create React App.

## Installation

First, follow craco's
[installation instructions](https://github.com/sharegate/craco/blob/master/packages/craco/README.md#installation).

Then, install `craco-linaria` and [Linaria][]:
Then, install `craco-linaria` and
[Linaria v2](https://github.com/callstack/linaria/tree/2.0.x):

```bash
$ npm install --save-dev craco-linaria linaria
Expand Down
Loading