Hi Aspnetzero support folks ,
product version :
- product type: Angular
- product framework type: .net core
CAn you please help me ?
I need to create a page that can be accessed without going through the application login.
- Page should allow user to change languages
- Page should have a Recaptcha (part of aspnetzero library)
- Page should be able to use aspnetzero localization
- Verify that client custom .css works on the page**
3 Answer(s)
-
0
Hi,
You can create a new module for your anonymous components similar to https://github.com/aspnetzero/aspnet-zero-core/blob/dev/angular/src/account/account-routing.module.ts and create your component under this module.
You can take register component as the sample since it also has racaptcha in it.
After that, you can include this module into root.module as well.
-
0
thanks for your answer. But the module you are saying will inherit the same theme for all the components in the account folder. I need a different theme specifially for this page. -- so is it fine if i create a new folder in the src folder and since i will need the language-switch component .. Can i move it to the src root folder or somwhere in a shared folder so it can be used by my other page ?
-
0
Hi @OriAssurant
-- so is it fine if i create a new folder in the src folder and since i will need the language-switch component .. Can i move it to the src root folder or somwhere in a shared folder so it can be used by my other page ?
Yes, this is perfectly fine.