简体   繁体   English

不带引导程序的 Blazor 材料

[英]Blazor Material without bootstrap

Is it possible to use Blazor Material without using/referencing the Bootstrap Library ?是否可以在不使用/引用 Bootstrap 库的情况下使用 Blazor 材料?

I have removed the links to the bootstrap .css files in the Blazor web assembly template and it appears that obviously the bootstrap styles aren't working anymore.我已经删除了 Blazor Web 程序集模板中引导程序 .css 文件的链接,显然引导程序样式不再起作用。 Which is fine as I plan to use a different CSS library such as TailwindCSS.这很好,因为我计划使用不同的 CSS 库,例如 TailwindCSS。

Is it possible to continue to work with Tailwind and Blazor Material without running into issues that rely on bootstrap if attempting to replace bootstrap with Tailwind and Blazor Material?如果尝试使用 Tailwind 和 Blazor Material 替换引导程序,是否可以继续使用 Tailwind 和 Blazor Material 而不会遇到依赖引导程序的问题?

Blazor is not connected to Twitter Boostrap (v4) in any way. Blazor 未以任何方式连接到 Twitter Boostrap (v4)。 It is simply the template project to show you various functionality in a pleasant way eg, menus, <NavLink /> , alerts, etc.它只是一个模板项目,以愉快的方式向您展示各种功能,例如,菜单、 <NavLink /> 、警报等。

You can completely remove Bootstrap references and switch to any platform you'd prefer.您可以完全删除 Bootstrap 引用并切换到您喜欢的任何平台。 There will not be any degradation to the Blazor framework. Blazor 框架不会有任何降级。 I personally use Bootstrap strictly for the grid system and responsiveness, the rest is custom CSS.我个人在网格系统和响应性方面严格使用 Bootstrap,其余的是自定义 CSS。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM