Update tailwind.config.js from service #1506
JoseJuan81
started this conversation in
General
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello every one. I have a question. Could be possible update My tailwind.config.js with data from a web service?. Example:
In main.js
Async function created() {
Const { data: settings } = await axios...
This.colors = settings.theme.colors;
// Update tailwind.config.js
}
I want to update tailwind.config.js => colors with settings.theme.colors.
Beta Was this translation helpful? Give feedback.
All reactions