Install in existing theme with css.liquid files #86
Answered
by
montalvomiguelo
anders-christiansen
asked this question in
Q&A
-
I'm trying to use shopify-vite for an existing theme which contains a css.liquid file. I've moved the js and css files to frontend/entrypoints, but the css.liquid file giving me trouble. Do i need to refactor so that no liquid is used in the css files, or is there a work around for this? :) |
Beta Was this translation helpful? Give feedback.
Answered by
montalvomiguelo
Jul 27, 2023
Replies: 1 comment
-
@anders-christiansen Yeah prolly you will need to do some refactoring. Typically the liquid bits in that file output settings like colors, fonts, etc. You could extract those pieces to your layout file or a separate snippet. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
anders-christiansen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@anders-christiansen Yeah prolly you will need to do some refactoring. Typically the liquid bits in that file output settings like colors, fonts, etc. You could extract those pieces to your layout file or a separate snippet.