L
L
Legioner9112015-02-07 19:42:01
css
Legioner911, 2015-02-07 19:42:01

Why doesn't less work on hosting?

Hello, tell me what could be the problem. I must say right away that I am still in the process of mastering Less. I wrote all the .less styles, everything works fine on the local. But when I upload all the files to the hosting, the styles are not displayed at all. What can be wrong?
Example from this link: demo122.hol.es
Thanks in advance for your reply.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
aen, 2015-02-07
@Legioner911

The first thing that caught my eye is the wrong tag <dody>instead of the <body>
Second - you have a 404 error when loading the script JavaScript/less.js-master/less.js. That's why it doesn't compile anything.

A
Archer *range attack +10*, 2015-03-16
@kon-rafikov

It is better to stop using less directly on the site, and compile it into a compressed css file. and use less as a source.
So you will speed up the loading time of the site and you will not have to deal with the script. It didn't work for me either =)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question