How to add a stylesheet to your module?

  • type
      technical
  • info created for version
      14.0
  • mvc
      css , XML (records/views/templates)
Add to Cart

Add this code to your view ...

<template id="assets_frontend" inherit_id="website_sale.assets_frontend">
    <xpath expr="link[last()]" position="after">
        <link rel="stylesheet" type="text/scss" href="/module_name/static/src/scss/style.scss"/>
    </xpath>
</template>