This topic contains 3 replies, has 3 voices, and was last updated by Dima Soroka 10 years ago.
- Topic
Are there instructions anywhere for setting up the LESS CSS Preprocessor with OroCRM/OroBAP?
If I look in `oro_css.html.twig`, I see a lot of code that appears to be related to the LESS CSS processor.
#File: vendor/oro/platform/src/Oro/Bundle/AsseticBundle/Resources/views/Assets/oro_css.html.twig
{% oro_css filter='cssrewrite, lessphp, cssmin' output='css/oro.css' %}
{% set isLess = ('less' in asset_url|split('.')) %}
{% if isLess %}
<script type="text/javascript">localStorage.clear();</script>
{% endif %}
<link {% if isLess %}rel="stylesheet/less"{% else %}rel="stylesheet"{% endif %} media="all" href="{{ asset_url }}" />
{% if isLess %}
<script type="text/javascript" src="{{ asset('bundles/oroui/lib/less-1.3.3.min.js') }}"></script>
{% endif %}
{% endoro_css %}However, even after reading the `OroAsseticBundle`’s README file at
1vendor/oro/platform/src/Oro/Bundle/AsseticBundle/README.mdIt’s not clear how a developer wanting to work with OroCRM’s LESS implementation should proceed.
The forum ‘OroCRM – How do I? Questions’ is closed to new topics and replies.