在nuxt.config.js中的布局中添加模块而不是globaly
如何在NUXT中的布局中添加一个模块,并与相同的布局及其页面和组件一起使用? 我有拖曳布局。其中一个应该与某些组件一起使用“ bootstrap-vue”,而另一个组件则可以使用。 特别是对于Vue-Bootstrap。提前提前
How can I add a module in a layout in nuxt and it works with the same layout and its pages and components?
I have tow layouts. One of them should work with "bootstrap-vue" with some component and another should work without that.
especially for vue-bootstrap. thx in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我发现解决方案也许对其他解决方案很有用。
我在布局中添加了Bootstrap-vue。
如果需要,您可以添加更多插件或整个软件包。
所需的一些软件包
我可以做的所有bootstrap-vue
I found the solution maybe it is useful for the others.
I added bootstrap-vue like this to my layout.
You can add more plugins if you want or the whole package.
some packages that I needed
for all bootstrap-vue you can do like this