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

Strange issue with react-slingshot #112

Closed
namlook opened this issue Apr 19, 2016 · 2 comments
Closed

Strange issue with react-slingshot #112

namlook opened this issue Apr 19, 2016 · 2 comments

Comments

@namlook
Copy link

namlook commented Apr 19, 2016

Hi guys,

Thank you for this project, it is really helpful ! But for a reason I can't figure out, I can't make the following jsfiddle working with react-slingshot:

https://jsfiddle.net/q3jroknc/

here is the repository that show the issue:

https://github.com/namlook/react-slingshot-semantic-ui-bug

The files to look at are:

  • ./src/index.html (I added the CDN resources. Gross, I know, but I want to be as close as possible to the fiddle)

  • ./src/index.js (where I added the component)

    npm start and go to http://localhost:3000 to see the issue.

Any ideas of what is going wrong here ?

Thanks !

@jeremyadavis
Copy link

You need to add the 'type' attribute to your Semantic css and js tags

<link rel="stylesheet" type="text/css" href="https://rawgit.com/Semantic-Org/Semantic-UI/next/dist/semantic.css" />

<script type="text/javascript" src="https://rawgit.com/Semantic-Org/Semantic-UI/next/dist/semantic.js"></script>

@namlook
Copy link
Author

namlook commented Apr 20, 2016

Damn ! How could I missed this ? It works perfectly now. Sorry for the noise 😳

@namlook namlook closed this as completed Apr 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants