问题
I want to replace the free BSB theme in aspnetboilerplate project (Angular + ASP.NET Core) with a custom theme. Are there any instructions of how to do it? Or at least a clue of what needs to be updated on client side?
回答1:
I've changed the bsb template in a lot times and what do is the next:
Put the new template elements in the
Abp's
angular project in the same place that it in the new template, for example if ensrc/app
there is an"Example"
folder I copy this to theAbp's
templateDelete
Bsb
theme (if you have problem withtenant
,user
, orroles
foler, erase it too) folder and find the places whereAbp's
project use, regular is inangular.json
Edit
Package.json
file and put all packages from new template without erase the packages from theabp's
orignalPackage.json
file, angular will say you which files are repeated on the file, then you keep the most recent.Do the same with
Angular.josn
file, be sure to load all files that load the new template.- Design again the base register from
abp's
template based on the new template, for example if your new template has a example login page, on the .ts you put the code of the orignalabp's
template, like this you will have the new design with sameabp's
logic.
https://github.com/domisysdo/Colegio.Client
In this project I've putted Adminca Template on Abp's
project you can download it and check it if it can help you.
PD: I'm from Dominican Republic, my english is not very well.
来源:https://stackoverflow.com/questions/54633527/how-to-replace-free-bsb-aspnetboilerplate-theme