How to Disable Sanitization of Dashes to Underscores? #9145
Unanswered
mh12459
asked this question in
Template authoring
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I have created my own template with it's own template.json file and the project is blazor.
In Blazor there is in the App.razor a "internal stylesheet"
<link rel="stylesheet" href="Project1-19.styles.css" />
This needs to be always the project name so I did this
<link rel="stylesheet" href="My.Template.styles.css" />
in my template.json I have
"sourceName": "My.Template",
This should replace it with whatever project name. My expectation would be it would
Project1-19
but in the App.razor it replaces it with a underscore which breaks the project as it expectsProject1-19.styles.css
<link rel="stylesheet" href="Project1_19.styles.css" />
In the MS Blazor template they seem to have handled this as this template does not have the problem.
Beta Was this translation helpful? Give feedback.
All reactions