how to setup less using only js

后端 未结 2 1429
死守一世寂寞
死守一世寂寞 2020-12-04 03:46

I have an html like this all I have included all the files in to my folder. I tried to add some \'less\' css attributes in to my main.css file but it is not reflecting in m

相关标签:
2条回答
  • 2020-12-04 04:04
    1. Check it in latest browsers like IE10, Firefox,chrome etc., If it is still not working upload the file into the FTP server or configure the site in IIS server.
    0 讨论(0)
  • 2020-12-04 04:12

    You still can use less.js with local test files, see for example: less.js not working in chrome

    In summary:

    • For Webkit-based browsers (Chrome, Safari, Opera15+) use -allow-file-access-from-files command line option
    • For Opera12 set "Allow File XMLHttpRequest" config flag
    • Firefox should work w/o any special settings.
    0 讨论(0)
提交回复
热议问题