antfu / vitesse

πŸ• Opinionated Vite + Vue Starter Template

Home Page:https://vitesse.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

icons and classes are purged when included in TS files

boussadjra opened this issue Β· comments

When I define an icon name or tailwind classe inside a TS file like composable functions they are not parsed for example πŸ‘

export const variantIcon: Record<string, string> = {
    'info': 'i-carbon-information',
    'warning': 'i-carbon-warning',
    'error': 'i-carbon-misuse-outline',
    'success': 'i-carbon-checkmark'
}

We temporarily close this due to the lack of enough information. Please provide a minimal reproduction to reopen the issue. Thanks.