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

Add option to disable the wrapper component. #312

Closed
1 task done
Tracked by #348 ...
Decipher opened this issue Oct 4, 2021 · 1 comment · Fixed by #351
Closed
1 task done
Tracked by #348 ...

Add option to disable the wrapper component. #312

Decipher opened this issue Oct 4, 2021 · 1 comment · Fixed by #351
Labels
enhancement New feature or request

Comments

@Decipher
Copy link
Member

Decipher commented Oct 4, 2021

Is your feature request related to a problem? Please describe.
As a frontend developer I want to be able to prevent the DruxtWrapper component from rendering when using template injection based theming.

Describe the solution you'd like

  • Add ability to disable the wrapper component on a case by case basis:
    <DruxtEntity :wrapper="false" ... />

Describe alternatives you've considered
Ability to set the default state in nuxt.config.js

Additional context
N/A

@Decipher
Copy link
Member Author

Delaying until after #352

Decipher added a commit that referenced this issue Oct 27, 2021
Decipher added a commit that referenced this issue Oct 27, 2021
Decipher added a commit that referenced this issue Oct 31, 2021
Decipher added a commit that referenced this issue Oct 31, 2021
Decipher added a commit that referenced this issue Oct 31, 2021
* feat(#312): unwrap template injected components

* chore(#312): update theming guide

* chore(#312): add wrappers example

* chore(#312): update wrapper ignore logic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant