From b707a1936c1464529451e0373942c7d7eadf9727 Mon Sep 17 00:00:00 2001 From: rohitwaghchaure Date: Mon, 16 Oct 2023 19:52:40 +0530 Subject: [PATCH] fix: styles (#29) --- webshop/hooks.py | 2 ++ webshop/public/scss/webshop-web.bundle.scss | 1 + webshop/public/scss/{webshop.scss => webshop_cart.scss} | 0 3 files changed, 3 insertions(+) create mode 100644 webshop/public/scss/webshop-web.bundle.scss rename webshop/public/scss/{webshop.scss => webshop_cart.scss} (100%) diff --git a/webshop/hooks.py b/webshop/hooks.py index 15bb391be0..7bd64427fe 100644 --- a/webshop/hooks.py +++ b/webshop/hooks.py @@ -10,6 +10,8 @@ required_apps = ["payments", "erpnext"] +web_include_css = "webshop-web.bundle.css" + web_include_js = "web.bundle.js" after_install = "webshop.setup.install.after_install" diff --git a/webshop/public/scss/webshop-web.bundle.scss b/webshop/public/scss/webshop-web.bundle.scss new file mode 100644 index 0000000000..f284e39afa --- /dev/null +++ b/webshop/public/scss/webshop-web.bundle.scss @@ -0,0 +1 @@ +@import "./webshop_cart"; \ No newline at end of file diff --git a/webshop/public/scss/webshop.scss b/webshop/public/scss/webshop_cart.scss similarity index 100% rename from webshop/public/scss/webshop.scss rename to webshop/public/scss/webshop_cart.scss