Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Razor Components Project #1

Closed
LorenDorez opened this issue Apr 4, 2019 · 2 comments
Closed

Razor Components Project #1

LorenDorez opened this issue Apr 4, 2019 · 2 comments

Comments

@LorenDorez
Copy link

When i install this nuget the 2 files BlazoredMenuItem.razor and BlazoredSubMenu.razor get droppped to the root. Not a big issue but i had to change the submenu to use the Full Namespace as it was causing an error

@inherits Blazored.Menu.BlazoredSubMenuBase

@LorenDorez
Copy link
Author

I added to the View Imports but i think this is because in an RC project it gets dropped in the root and not under /Componenets

@chrissainty
Copy link
Member

Ok, this one was weird. It turns out if you have .razor files in a Blazor library project then they get copied into the project that installs the nuget package.

I've changed the extension back to .cshtml and everything is back to normal. This fix is in version 1.0.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants