Quantcast
Channel: Active questions tagged svelte - Stack Overflow
Viewing all articles
Browse latest Browse all 1882

Vue, React, Svelte + Vite + typescript with absolute paths

$
0
0

I created a Vue / React / Svelte + Typescript + Vite project using:

npm create vite@latest

and have the following files in my project:

...tsconfig.app.jsontsconfig.jsontsconfig.node.jsonvite.config.ts

How do I get to setup absolute paths ?

so I can use something like this:

import TodoList from '@components/TodoList'import type { Todo } from "@/types/Todo"

Viewing all articles
Browse latest Browse all 1882

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>