---
title: "Discussion on \"How to override the $lib folder in SvelteKit\" | Hashnode"
description: "Discussion on \"How to override the $lib folder in SvelteKit\". SvelteKit exposes $lib to eliminate the need of using '../../' while importing components into the routes.\n$lib is by default pointing to:\n\nsrc/lib\n\nAs per Svelte default boilerplate, it places the components under this location. \nIf you would like t..."
url: "https://hashnode.com/posts/how-to-override-the-dollarlib-folder-in-sveltekit/6273ce6e61c9093d16dcd604"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to override the $lib folder in SvelteKit](https://jsbisht.hashnode.dev/how-to-override-the-dollarlib-folder-in-sveltekit?utm_source=hashnode&utm_medium=feed)

SvelteKit exposes $lib to eliminate the need of using '../../' while importing components into the routes. $lib is by default pointing to: src/lib As per Svelte default boilerplate, it places the components under this location. If you would like t...

May 5, 2022 · 1 min read · jsbisht.hashnode.dev  
Read the article

-   [#svelte](https://hashnode.com/tag/svelte)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#ssr](https://hashnode.com/tag/ssr)

## Written by

[JAGDEEP BISHT](https://hashnode.com/@jsbisht)

@jsbisht · Bengaluru, India

  
[View profile](https://hashnode.com/@jsbisht)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
