Smart UI Components & Libraries – Grid, Scheduler, Gantt, Kanban for Angular, React, Next.js, Vue, Blazor, JavaScript › Forums › General Discussions › Blazor Server App CSS file
Tagged: blazor server app css
- This topic has 3 replies, 2 voices, and was last updated 3 years, 7 months ago by
admin.
-
AuthorPosts
-
April 20, 2022 at 10:57 am #103091
Kandwal Legal
Participantscoped.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” />)
April 20, 2022 at 1:39 pm #103092admin
KeymasterHi 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 StoevSmart UI Team
https://www.htmlelements.com/April 20, 2022 at 6:50 pm #103093Kandwal Legal
ParticipantPlease 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>April 22, 2022 at 8:44 am #103097admin
KeymasterHi,
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 StoevSmart UI Team
https://www.htmlelements.com/ -
AuthorPosts
- You must be logged in to reply to this topic.