theme assets folder during watch and production #54
-
During development, I link my assets at theme_name/theme/assets after running a bundle, those files will end up under theme_name/assets Probably linking them like this is not the right way? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
Hi Philip—Thanks for posting this!
That is definitely the expected outcome in terms of where the
In what sense? Are the contents of the Please let me know what kinds of files are inside the |
Beta Was this translation helpful? Give feedback.
No problem at all! I understand now.
For fonts and images declared in CSS, I use relative links. Keeping in mind that the CSS all compiles into
./theme/style.css
, you can use something likeurl('assets/fonts/font-name.woff2')
. Here's an example from a project I'm working on: