Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
How to use Smidge in Umbraco 13? I tried this code but it's not working.
SmidgeHelper.RequiresCss("~/css/components/navbar.min.css");
That bit registers the file you want with Smidge,
But you will also need to tell Smidge where to output it.
I think the code is something like
SmidgeHelper.RenderCssHere()
Use this below code in your program.cs
program.cs
app.UseSmidge(bundles => { bundles.CreateCss("maincss", "~/css/main.css", "~/css/RTE Style.css"); bundles.CreateJs("mainjs", "~/scripts/js/main.js", "~/scripts/js/vendors/core.js", "~/scripts/devscripts.js"); });
Then use below code to render in your html
<link rel="stylesheet" href="maincss" /> <script src="mainjs" ></script>
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to use Smidge in Umbraco 13?
How to use Smidge in Umbraco 13? I tried this code but it's not working.
That bit registers the file you want with Smidge,
But you will also need to tell Smidge where to output it.
I think the code is something like
SmidgeHelper.RenderCssHere()
Use this below code in your
program.cs
Then use below code to render in your html
is working on a reply...