Skip to content
This repository has been archived by the owner on Aug 19, 2019. It is now read-only.

Starter kit with enabled JSX support #3

Closed
PTihomir opened this issue Apr 14, 2016 · 4 comments
Closed

Starter kit with enabled JSX support #3

PTihomir opened this issue Apr 14, 2016 · 4 comments

Comments

@PTihomir
Copy link

Hi! I tried to enable reBEM JSX support for my project, but failed miserably. So I took the starter kit, expecting that it will have it configured, but no. So I tried to enable it for starter kit, hoped that I will succeed and by that I will figure out the what was the problem initially on my project, but nope, I was not lucky enough...

So I would really appreciate a version of the starter kit with enabled jsx support, or some help how to configure webpack.

Currently module build fails because of the unexpected HTML syntax.

@deepsweet
Copy link
Member

I'll make a special branch with reBEM JSX soon.

@PTihomir
Copy link
Author

Thanks :)

@deepsweet
Copy link
Member

45d743a

most likely you just forgot about "babel-preset-react" dependency. if you are using rebem-layers, then you have to set importFactory: false in your layers config, see docs.

feel free to ask for further help :)

@PTihomir
Copy link
Author

Thanks. Yep, I missed to install "babel-preser-react" but after installing it it started to work. Thanks for the JSX version!

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

No branches or pull requests

2 participants