This repository has been archived by the owner on Apr 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 69
[Question] VechaiUI didn't style the components? #22
Comments
@samzhangjy oops sorry my I copied wrong config module.exports = {
mode: "jit",
purge: [
"./node_modules/@vechaiui/**/*.{js,ts,jsx,tsx}",
],
darkMode: "class", // or 'media' or 'class'
theme: {
extend: {},
},
variants: {
extend: {},
},
plugins: [
require("@tailwindcss/forms"),
require("@vechaiui/core"),
],
} I put all config in |
You must include Tailwind in your CSS... more about tailwind document https://tailwindcss.com/docs/installation#include-tailwind-in-your-css |
Thank you...
Sam Zhang
…________________________________
From: pepelele ***@***.***>
Sent: Thursday, July 8, 2021 10:20:17 PM
To: vechai/vechaiui ***@***.***>
Cc: Sam Zhang ***@***.***>; Mention ***@***.***>
Subject: Re: [vechai/vechaiui] [Question] VechaiUI didn't style the components? (#22)
Closed #22<#22>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#22 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANQCYENR7NN6DIYHGWNXWKDTWWX2DANCNFSM5AAX6TQA>.
|
This was referenced Jul 9, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello. I followed the steps in the documentation and tried to install VechaiUI. However, when I run the app, the components aren't styled:
First, I created a blank project using
npx create-react-app
.Then I installed the library using
yarn
:And I'm using the very same code as shown in the documentation:
And my
tailwind.config.js
is also copied from the docs:The buttons have the
btn btn-md btn-outline
classes, and everything seem to work, except the style... (sorry for this terrible English...)Sorry if I misunderstood something in the docs.... I'm actually a beginner in React. I just can't find a solution for this one...
The text was updated successfully, but these errors were encountered: