如何替换免费的BSB aspnetboilerplate主题 [英] How to replace free BSB aspnetboilerplate theme

查看:92
本文介绍了如何替换免费的BSB aspnetboilerplate主题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用自定义主题替换aspnetboilerplate项目(Angular + ASP.NET Core)中的免费BSB主题.是否有有关如何操作的说明?还是至少需要了解客户端需要更新的内容?

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?

推荐答案

我已经多次更改了bsb模板,下一步是什么:

I've changed the bsb template in a lot times and what do is the next:

  1. 将新模板元素放置在 Abp的角度项目中,并将其放置在与新模板相同的位置,例如,如果存在 src/app 我将其复制到 Abp的模板

  1. Put the new template elements in the Abp's angular project in the same place that it in the new template, for example if en src/app there is an "Example" folder I copy this to the Abp's template

删除 Bsb 主题(如果您遇到 tenant user roles 角色有问题,也将其删除)文件夹,并找到 Abp的项目使用的位置,常规位置在 angular.json

Delete Bsb theme (if you have problem with tenant, user, or roles foler, erase it too) folder and find the places where Abp's project use, regular is in angular.json

编辑 Package.json 文件并放置新模板中的所有软件包,而不会擦除 abp的原始 Package.json 中的软件包文件,Angular会告诉您在文件上重复哪些文件,然后保留最新文件.

Edit Package.json file and put all packages from new template without erase the packages from the abp's orignal Package.json file, angular will say you which files are repeated on the file, then you keep the most recent.

Angular.josn 文件执行相同的操作,请确保加载所有加载新模板的文件.

Do the same with Angular.josn file, be sure to load all files that load the new template.

https://github.com/domisysdo/Colegio.Client

在这个项目中,我已将Adminca模板放在 Abp的项目中,您可以下载它并检查它是否可以帮助您.

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:我来自多米尼加共和国,我的英语不太好.

PD: I'm from Dominican Republic, my english is not very well.

这篇关于如何替换免费的BSB aspnetboilerplate主题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆