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

Webpack build issue #2

Open
mic159 opened this issue Jun 24, 2018 · 5 comments
Open

Webpack build issue #2

mic159 opened this issue Jun 24, 2018 · 5 comments

Comments

@mic159
Copy link

mic159 commented Jun 24, 2018

I am trying to add forest-themes-css/dist/bootswatch/semantic.yeti.min.css to my webpack build,
but it tells me that the flag.png and fonts are missing, because only the CSS files are in the package.

I have both semantic-ui-css and forest-themes-css installed, so how can I get it to look in semantic-ui-css for those files?

@mic159
Copy link
Author

mic159 commented Jun 24, 2018

I believe the CSS should be changed to include the package where the image is, because this package does not have it.

Eg:

background: url("~semantic-ui-css/themes/default/assets/images/flags.png") no-repeat -108px -1976px;

@mic159
Copy link
Author

mic159 commented Jan 6, 2019

@xiaohanyu Please share your webpack config to make this work.

@xiaohanyu
Copy link
Member

@mic159 will try...

@mic159
Copy link
Author

mic159 commented Jan 30, 2019

@xiaohanyu any luck?

@xiaohanyu
Copy link
Member

@mic159 I'm working on the new version of https://semantic-ui-forest.com, after that, I'll fix some bugs of this forest-themes-css repo, and then make a big release.

The new release will contain 20+ new themes imported from bootswatch 4, and also will provide support for webpack, unpkg cdn, etc...

Need some time...

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