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

feat(bootstrap-vue): add support for aliases and directives #470

Merged

Conversation

simonbrunel
Copy link
Contributor

This PR adds support for BootstrapVue component aliases and directives (options.directives: boolean - default: true).

The BootstrapVue resolver has also been added to the README.md and the list of supported resolvers has been reordered by name. I can revert these changes if I you don't want the README.md updates as part of this PR.

FYI @BenediktHeinrichs - I'm curious to know why you stopped using it in the project you mentioned?

@simonbrunel simonbrunel requested a review from antfu as a code owner July 20, 2022 11:06
@simonbrunel simonbrunel force-pushed the feat/bootstrap-vue-aliases-and-directives branch from d93a38b to c169def Compare July 22, 2022 05:23
@simonbrunel
Copy link
Contributor Author

@antfu There is no dedicated code owner for the BootstrapVue resolver, can you please have a look to this PR?

@antfu antfu merged commit b5f293f into unplugin:main Jul 25, 2022
@simonbrunel simonbrunel deleted the feat/bootstrap-vue-aliases-and-directives branch July 25, 2022 20:08
@BenediktHeinrichs
Copy link
Contributor

FYI @BenediktHeinrichs - I'm curious to know why you stopped using it in the project you mentioned?

There was a difference in what the components.d.ts file contained between running the vite dev build (esbuild) and the vite production build (rollup) command, which was why it has been removed by a colleague. (there were imports missing in the dev build and only included if e.g. a certain component was loaded)

Furthermore, we encountered some issues with e.g. bootstrap toasts afterwards.

When I get the time, I'll probably reintegrate it into our project and see if the difference between the dev build and production build can be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants