Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
kristofferdarj

Import external css/less

Question

I have two different sites to handle two languages. ( currics.com and currics.se )

Is it possible for them to share common css somehow?

I have tried having a common less file on another server and importing it via less, but it doesn't seem to work

This at the top of my custom css:

@import url(https://static.currics.com/css/generic.less);

just gives me an error: Cannot read property 'href' of undefined.

Not sure about if I will end up in Cross-origin problems later but the error comes before that, in the editor.

Shouldn't this be possible?

Share this post


Link to post

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...