You can attach Javascript and CSS files to a custom component and also refer dependencies on other Drupal libraries. To attach such files, add a js, css or dependencies to the custom component YAML definition.
Note that the `css` properties for custom components do not need a style type key (base, component, state, theme) as all css for custom components will be placed at the `component` level.
You can attach Javascript and CSS files to a custom component and also refer dependencies on other Drupal libraries. To attach such files, add a js, css or dependencies to the custom component YAML definition.
Note that the `css` properties for custom components do not need a style type key (base, component, state, theme) as all css for custom components will be placed at the `component` level.
Did not find what you were looking for?
If this content did not answer your questions, try searching or contacting our support team for further assistance.
Did not find what you were looking for?
If this content did not answer your questions, try searching or contacting our support team for further assistance.