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

Update tailwind config #24

Open
MikeMcChillin opened this issue Sep 16, 2024 · 0 comments
Open

Update tailwind config #24

MikeMcChillin opened this issue Sep 16, 2024 · 0 comments

Comments

@MikeMcChillin
Copy link
Contributor

In order to reference tailwind configs in JS, we need a slight refactor to our tailwind.config.js file:
Turning const corePlugins = require('./theme/config/corePlugins'); into import corePlugins from './theme/config/corePlugins'; and then within each referenced file, adding export default corePlugins (or w/e the file is).

This is relatively easy to do, and i've done it here on merus for reference
More here: https://stackoverflow.com/questions/70983798/how-to-use-tailwindcsss-resolve-config-with-typescript

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