roots / docs

πŸ“ Documentation for Roots projects
https://roots.io/docs/
168 stars 182 forks source link

Update fonts-setup.md #486

Closed cawalle closed 11 months ago

cawalle commented 11 months ago

Missing tilde (~) before "@fonts/…" in src, which threw the error below for me. Adding the tilde removed it.

β”‚ Module not found: Error: Can't resolve './common/@fonts/my-font-name.woff2' in β”‚ β”‚ 'resources/styles'

cawalle commented 11 months ago

my bad…it's actually already here: https://bud.js.org/extensions/bud-sass#url-imports