styled-jsx-plugin-less

0.0.1-alpha.1 • Public • Published

styled-jsx-plugin-less

Use less with styled-jsx 💥

Usage

Install the package first.

npm install --save-dev styled-jsx-plugin-less

Install less (it is a peer dependency).

npm install --save-dev less

Next, add styled-jsx-plugin-less to the styled-jsx's plugins in your babel configuration:

{
  "plugins": [
    [
      "styled-jsx/babel",
      { "plugins": ["styled-jsx-plugin-less"] }
    ]
  ]
}

Notes

styled-jsx-plugin-less uses styled-jsx's plugin system which is supported from version 2.

Read more on their repository for further info.

License

MIT

Package Sidebar

Install

npm i styled-jsx-plugin-less

Weekly Downloads

40

Version

0.0.1-alpha.1

License

MIT

Last publish

Collaborators

  • angrymadcat