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

Styles are not applied #8

Open
GGAlanSmithee opened this issue Oct 18, 2019 · 1 comment
Open

Styles are not applied #8

GGAlanSmithee opened this issue Oct 18, 2019 · 1 comment

Comments

@GGAlanSmithee
Copy link

Hi.

I downloaded the demo folder and ran npm i && npm run dev and got the error

ERROR in ./src/SvelteThing.html
eact-sveltesrcSvelteThing.svelte.css' in 'C:\projects\svelte\react-svelte\src'
 @ ./src/SvelteThing.html 85:0-68
 @ ./src/main.js
 @ multi ./src/main.js

Also, when trying to incooporate react-svelte into a rather large react project, I get no warning, but styles are not applied. That project uses LESS, but can also digest regular css, so not sure if these problems are related or not.

BTW - What's the status of this project? Being able to use svelte components in a react project would allow for a very nice introduction/evaluation path. I really like Svelte but I think it will be hard for me to sell it as an all-at-once replacemeent for our current FE, so this bridge would really help in that regard.

Thanks in advance, and great work as always @Rich-Harris

@AJamesPhillips
Copy link

Yes +1 for "nice introduction/evaluation path".

I just ran this project now and it worked fine for me except I had to delete the public/bundle.css and public/bundle.js for it to recognise changes in src/main.js and src/SvelteThing.html

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