【问题标题】:Best way to update to newer versions of bootstrap and font awesome in blazor webassembly app在 blazor webassembly 应用程序中更新到较新版本的引导程序和字体的最佳方法
【发布时间】:2021-03-11 22:51:59
【问题描述】:

谁能告诉我从创建项目时使用的默认版本更新到 blazor webassembly 应用程序中较新版本的 bootstrap 和 font awesome 的最佳方法?

【问题讨论】:

    标签: bootstrap-4 font-awesome blazor-webassembly


    【解决方案1】:

    Libman in asp.net core

    我使用 libman。在 Visual Studio 中,删除 bootstrap 文件夹,然后右键单击项目 -> 添加客户端库 -> 选择提供程序 cdnjs -> 搜索 twitter-bootstrap。选择后,点击安装。

    这会将文件添加到 wwwroot 中的 lib 文件夹中,您只需更新 wwwroot/index.html 中的链接

    【讨论】:

      【解决方案2】:

      【讨论】:

        猜你喜欢
        • 2021-06-28
        • 2022-11-11
        • 2014-04-17
        • 2015-07-19
        • 1970-01-01
        • 2019-06-22
        • 1970-01-01
        • 1970-01-01
        • 2023-03-18
        相关资源
        最近更新 更多