Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make balmui vue components Volar global components compatible? #173

Open
nkeonkeo opened this issue Jul 17, 2023 · 0 comments
Open

Comments

@nkeonkeo
Copy link

I found that balmui has adapted to vetur but not yet to volar.

I tried adding "node_modules/balm-ui/dist/balm-ui.d.ts" and "node_modules/balm-ui/dist/balm-ui-plus.d.ts" into "tsconfig.json", but it doesn't work.

// tsconfig.json
{
    "compilerOptions": {
        "baseUrl": ".",
        "paths": {
            "balm-ui": ["node_modules/balm-ui/dist/balm-ui.d.ts"],
            "balm-ui-plus": ["node_modules/balm-ui/dist/balm-ui-plus.d.ts"],
            "@/*": ["src/*"]
        },
        "allowJs": true
    },
    "include": [
        "src/**/*.ts",
        "src/**/*.vue",
        "node_modules/balm-ui/dist/balm-ui.d.ts",
        "node_modules/balm-ui/dist/balm-ui-plus.d.ts"
    ]
}

I would appreciate it if balm-ui can adapt to volar, thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant