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

linaria #1

Closed
jiyuujin opened this issue Jul 26, 2020 · 3 comments
Closed

linaria #1

jiyuujin opened this issue Jul 26, 2020 · 3 comments

Comments

@jiyuujin
Copy link
Owner

jiyuujin commented Jul 26, 2020

Zero runtime, styled-component linaria

yarn add linaria

Set linaria/babel preset in .babelrc

{
  "presets": [
    "linaria/babel"
  ]
}

Add linaria/loader in webpack.config.js

module.exports = {
  module: {
    rules: [
      {
        test: /\.(js|ts)x?$/,
        exclude: /node_modules/,
        use: [
          {
            loader: 'linaria/loader'
          }
        ]
      }
    ]
  }
}
@jiyuujin jiyuujin changed the title linaria linaria 代わりに? Jul 26, 2020
@jiyuujin jiyuujin changed the title linaria 代わりに? linaria 代用 Aug 3, 2020
@jiyuujin jiyuujin added the React label Aug 3, 2020
@jiyuujin jiyuujin changed the title linaria 代用 linaria Aug 5, 2020
@jiyuujin
Copy link
Owner Author

https://github.com/nekohack-oss/preact-storybook

@jiyuujin
Copy link
Owner Author

Write jest with linaria

callstack/linaria#617 (comment)

@jiyuujin
Copy link
Owner Author

https://github.com/nekohack-oss/preact-linaria-storybook

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant