We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I perform a clean install of sveltkit with typescript and tailwind support as shown in th screenshot below:
The application runs as expected.
As per your installation instruction the following was done with success:
As per your instruction I also configure the tailwind.config.ts file as shown below:
I use the following in my index.svelte file:
import { Button } from 'kampsy-ui'; <div class="w-full flex flex-wrap gap-4 justify-between"> <Button type="secondary">upload</Button> <Button type="tertiary">upload</Button> <Button type="error">upload</Button> <Button type="warning">upload</Button> </div>
The displayed page DOES NOT have any styles for the buttons -
How can I correct the missing styles?
The text was updated successfully, but these errors were encountered:
Hello, could you please update the content section in your TailwindCSS configuration to include kampsyUi.content
Sorry, something went wrong.
There is already a content property in the default that uses an array of string. It will not add your content as suggested.
Add this to your content array './node_modules/kampsy-ui/dist/**/*.{html,js,svelte,ts}' is should look look like this
'./node_modules/kampsy-ui/dist/**/*.{html,js,svelte,ts}'
content: [ './src/**/*.{html,js,svelte,ts}', './node_modules/kampsy-ui/dist/**/*.{html,js,svelte,ts}' ],
No branches or pull requests
I perform a clean install of sveltkit with typescript and tailwind support as shown in th screenshot below:
The application runs as expected.
As per your installation instruction the following was done with success:
As per your instruction I also configure the tailwind.config.ts file as shown below:
I use the following in my index.svelte file:
The displayed page DOES NOT have any styles for the buttons -
How can I correct the missing styles?
The text was updated successfully, but these errors were encountered: