alinevitoriasi / boladao-web

https://boladao-web.vercel.app
9 stars 1 forks source link

Importações flexíveis com `Path Mapping` #6

Open thlmenezes opened 2 years ago

thlmenezes commented 2 years ago

Transformar isso

import Button from "../../components"

Em algo semelhante a

import Button from "@root/components"
// ou
import Button from "@components"

Utilizando: