Skip to content

Plugin to add less support to styled-jsx. Warning this is a Proof Of Concept plugin.

Notifications You must be signed in to change notification settings

erasmo-marin/styled-jsx-plugin-less

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

styled-jsx-plugin-less

Use less with styled-jsx 💥

Usage

Install the package first.

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

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

About

Plugin to add less support to styled-jsx. Warning this is a Proof Of Concept plugin.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •