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

Add support for import CSS files with url links to images #18

Open
ofry opened this issue Jul 25, 2017 · 2 comments
Open

Add support for import CSS files with url links to images #18

ofry opened this issue Jul 25, 2017 · 2 comments
Labels

Comments

@ofry
Copy link

ofry commented Jul 25, 2017

For example, module

dhtmlx-scheduler

I will give you test example after few minutes...

ofry pushed a commit to ofry/vue.js-starter-template that referenced this issue Jul 25, 2017
@ofry
Copy link
Author

ofry commented Jul 25, 2017

https://github.com/ofry/vue.js-starter-template

Way to reproduce:

  1. clone this repo,
  2. yarn install
  3. yarn build

@villeristi
Copy link
Owner

Hi, this should be possible if the included files are declaring (like they should) the urls etc. with variable-paths, e.g. like in Font-awesome (https://github.com/FortAwesome/Font-Awesome/blob/master/scss/_variables.scss#L4) which we override in https://github.com/villeristi/vue.js-starter-template/blob/master/src/styles/_variables.scss#L83.

The dhtmlx-scheduler uses plain css and the easiest solution on this is to include the .css-file to your styles-dir & do a search & replace on urls.

Hope this helps :)

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

No branches or pull requests

2 participants