Skip to content

Commit 2bad0a2

Browse files
authored
Add detailed instructions for babel-transforms
1 parent 288a7a8 commit 2bad0a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ export default class Hello extends React.Component {
6161

6262
2. Add a `@css` block **just before** the `render` function (important)
6363

64-
3. Add `transform-decorators-legacy` to `plugins` in `.babelrc` (Already downloaded with 💄)
64+
3. Add `transform-decorators-legacy` as the first `plugin` in your `.babelrc`. It is already downloaded with 💄;
65+
If you are not familiar with `babel plugins` you can follow the [detailed instructions here.](https://github.com/loganfsmyth/babel-plugin-transform-decorators-legacy#installation--usage)
6566

6667
You can start using this right away. Even though 💄 is in `BETA`, the `@css` block will always look the same.
6768

0 commit comments

Comments
 (0)