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

Importing config in javascript #311

Open
AskAlice opened this issue Nov 15, 2022 · 1 comment
Open

Importing config in javascript #311

AskAlice opened this issue Nov 15, 2022 · 1 comment

Comments

@AskAlice
Copy link

So my problem is that my config is in ./ as opposed to ./src so I can't simply import it as storybook and other things will consider that a virtual import.

WindiCSS allows you to import your config, but I don't see a way to do that with this plugin, nor is it documented.

@AskAlice
Copy link
Author

AskAlice commented Dec 2, 2022

wrote a plugin to do this myself.
https://www.npmjs.com/package/vite-plugin-windicss-theme

Still think this should be part of vite-plugin-windicss directly, though

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