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

Change the tailwind-olugin display in tree.file = 'path' view #276

Closed
4 tasks done
BracketJohn opened this issue Aug 31, 2022 · 1 comment · Fixed by #570
Closed
4 tasks done

Change the tailwind-olugin display in tree.file = 'path' view #276

BracketJohn opened this issue Aug 31, 2022 · 1 comment · Fixed by #570
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@BracketJohn
Copy link

Clear and concise description of the problem

When using tree.file: 'path' in the config:

import { defineConfig } from 'histoire'
import { HstVue } from '@histoire/plugin-vue'
import { HstNuxt } from '@histoire/plugin-nuxt'

export default defineConfig({
  plugins: [
    HstVue(),
    HstNuxt(),
  ],
  tree: {
    file: 'path',
  },
})

The tailwind plugin shows up under node_modules:
image

At first this raised the alarm bells for me and I thought that histoire crawled all of node_modules, after ignoring node_modules via storyIgnored: ['node_modules'], I learned that this is not the case, instead the plugin is just displayed that way.

Suggested solution

Use a plugins/ top level element to display plugins in path mode.

Alternative

No response

Additional context

Thanks for the library, it's great and a really fresh breeze compared to configuring, maintaining and working with storybook (as of sb 6.5).

Validations

@BracketJohn BracketJohn added the enhancement: to triage New feature of request pending review by team member label Aug 31, 2022
@Akryum Akryum added enhancement New feature or request good first issue Good for newcomers and removed enhancement: to triage New feature of request pending review by team member labels Aug 31, 2022
@Akryum
Copy link
Member

Akryum commented Aug 31, 2022

Thanks for the library, it's great and a really fresh breeze compared to configuring, maintaining and working with storybook (as of sb 6.5).

Thanks! 🤗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants