Is there a way to disable the tailwind design system section? #439
-
|
Is there a way to disable the tailwind design system section? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
|
I would like to disable this section as well, does anybody have an idea about how to do it ? |
Beta Was this translation helpful? Give feedback.
-
|
I deactivated it using the following config: import { defineConfig } from 'histoire'
import { HstVue } from '@histoire/plugin-vue2'
import { tailwindTokens } from 'histoire/dist/node/builtin-plugins/tailwind-tokens'
// see config reference https://histoire.dev/reference/config.html
export default defineConfig({
plugins: [HstVue(), tailwindTokens({ configFile: '' })]
}) |
Beta Was this translation helpful? Give feedback.
-
|
Alternatively you could also rename the tw config file. did this in a recent project.
|
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the suggestions, I ended up doing the following: export default defineConfig({
plugins: [
{
name: 'builtin:tailwind-tokens',
},
HstSvelte(),
],
...
}) |
Beta Was this translation helpful? Give feedback.
Thanks for the suggestions, I ended up doing the following: