This topic contains 1 reply, has 2 voices, and was last updated by Andrey Yatsenko 3 years, 3 months ago.
-
Topic
-
i have new setup, orocommerce, but when i have created a twig file and add this for requirejs
{% block _requirejs_scripts_widget %}
{% set requirejs_config_extend %}
{%- placeholder requirejs_config_extend -%}
{% endset %}
{% include ‘OroRequireJSBundle::scripts.html.twig’ with {
compressed: not app.debug,
config_extend: requirejs_config_extend,
provider_alias: ‘oro_requirejs_config_provider’
} %}
{{ block_widget(block) }}
{% endblock %}getting error require is not a function,
i have already done this
php bin/console oro:requirejs:build –env=prod
but nothing happend
please provide a resolution-
This topic was modified 3 years, 4 months ago by
aman.srivastava462.
-
This topic was modified 3 years, 4 months ago by
The forum ‘Oro Community’ is closed to new topics and replies.