Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Latest commit

 

History

History

components

Components

All components are auto-registered by default. For auto-imports to properly work, component names should be in PascalCase and the default export.

Example:

// ~/components/HelloWorld.tsx
// ...
const HelloWorld = ({ name }) => {
    return <div>Hello, {name}</div>
}

export default HelloWorld

You can safely delete this directory if you don't need it. If you do, also make sure to remove the auto-import resolver from vite.config.ts.