Coding in Public - Import Aliases

One thing I’ve struggled with on many iterations of this blog is the constant ../../path/to/file string for references, whether imports, css, or images. I’ve never really understood how to set up import aliases and always just dealt with the tedious task of updating or changing those strings if I ever moved a file.

Good news! Coding in Public released a new video today that explained exactly how to set them up (and in Astro no less)!

View Link

Adam Sedwick

I work on Design systems and Advocate for Accessibility on the web.

Tennessee

Blogging

Design Systems

Design Tokens

Web Accessibility

Web Design

Web Development

Open Web Standards