Important
You are browsing documentation for version 5.0 of OroCommerce. Support of this version ended in January 2025. Read the documentation for version 6.1 (the latest LTS version) to get up-to-date information.
See our Release Process documentation for more information on the currently supported and upcoming releases.
Assets
Filename |
|
Root Node |
|
The assets.yml
file used to load Sass and CSS files. The input files will be
automatically merged to a single output file and optimized for web presentation.
assets:
css:
inputs:
- acmedemo/path/to/css/first.scss
- acmedemo/path/to/css/second.scss
- acmedemo/path/to/css/third.css
# You can import Sass modules from node_modules.
# Just prepend them with a ~ to tell Webpack that this is not a relative import.
# See: https://webpack.js.org/loaders/sass-loader/#resolving-import-at-rules
- '~prismjs/themes/prism-coy.css'
auto_rtl_inputs:
# List of file masks for inputs that has to be processed with RTL plugin
- 'acmedemo/path/**'
To apply changes, run the following command that installs and builds application assets:
php bin/console oro:assets:install --symlink