Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 310 Bytes

path-mapping.md

File metadata and controls

10 lines (7 loc) · 310 Bytes

Path Mapping

TypeScript on algoworld-swapper repo is pre-configured with custom path mappings. To import components or files, use the @ prefix.

import { Button } from '@/components/Button';

// To import images or other files from the public folder
import avatar from '@/public/avatar.png';