vue.js-starter-template icon indicating copy to clipboard operation
vue.js-starter-template copied to clipboard

Add support for import CSS files with url links to images

Open ofry opened this issue 6 years ago • 2 comments

For example, module

dhtmlx-scheduler

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

ofry avatar Jul 25 '17 18:07 ofry

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

Way to reproduce:

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

ofry avatar Jul 25 '17 18:07 ofry

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 :)

villeristi avatar Sep 15 '17 16:09 villeristi