Demo Store Template Style Options #1330
-
|
Hi, When running the "npm create @shopify/hydrogen@latest -- --template demo-store" Tailwind comes preconfigured. There used to be an option to use other styling such as CSS or CSS modules when using the demo store. Is this still possible while using the demo store template? This feature is available in the mock.shop template. Kindest regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hi 👋 That said, the main template (skeleton) has been improved a lot lately and contains most of the logic of demo-store minus the styling. Perhaps you could consider using that instead? |
Beta Was this translation helpful? Give feedback.
Hi 👋
I don't recall having an option to generate
demo-storewithout Tailwind.You can try removing Tailwind manually and then running
h2 setup cssto choose another option like CSS Modules. However, all the Tailwind classes used in demo-store will need to be removed manually.That said, the main template (skeleton) has been improved a lot lately and contains most of the logic of demo-store minus the styling. Perhaps you could consider using that instead?