Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #103091
    Kandwal Legal
    Participant
    Up
    0
    Down

    scoped.styles.css not working in the blazor server app

    Here is the path of file( <link href=”_content/smart-blazor-app/_framework/scoped.styles.css” rel=”stylesheet” />)

    #103092
    admin
    Keymaster
    Up
    0
    Down

    Hi Kandwal Legal,

    We do not have a file called scoped.styles.css in our blazor components package. The file which is required is called smart.default.css. Optionally you can include smart.bootstrap.css after smart.default.css.

    Best regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

    #103093
    Kandwal Legal
    Participant
    Up
    0
    Down

    Please check this link for error details https://drive.google.com/file/d/18il7okriR7_H4spZGy6NMQKGc3DPLda3/view?usp=sharing

    How I’m adding

    <head>
    <meta charset=”utf-8″ />
    <meta name=”viewport” content=”width=device-width, initial-scale=1.0″ />
    <title>TaskList</title>
    <base href=”~/” />
    <link rel=”stylesheet” href=”css/bootstrap/bootstrap.min.css” />
    <link href=”css/site.css” rel=”stylesheet” />
    <link href=”TaskList.styles.css” rel=”stylesheet” />
    <link href=”_content/Smart.Blazor/css/smart.default.css” rel=”stylesheet” />
    <link href=”_content/Smart.Blazor/css/smart.bootstrap.css” rel=”stylesheet” />
    <script src=”_content/Smart.Blazor/js/smart.blazor.js”></script>
    <script src=”_content/Smart.Blazor/js/smart.elements.js”></script>
    </head>
    <body>
    <component type=”typeof(App)” render-mode=”ServerPrerendered” />

    <div id=”blazor-error-ui”>
    <environment include=”Staging,Production”>
    An error has occurred. This application may no longer respond until reloaded.
    </environment>
    <environment include=”Development”>
    An unhandled exception has occurred. See browser dev tools for details.
    </environment>
    Reload
    đź—™
    </div>

    <script src=”_framework/blazor.server.js”></script>
    </body>

    #103097
    admin
    Keymaster
    Up
    0
    Down

    Hi,

    Please, look at https://www.htmlelements.com/docs/blazor/. The help tutorial in step-by-step guide shows how to create a new Blazor app and add Smart.Blazor to it.

    Best regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.