From 5f2dea33f01dc72538821c85590991ff84950f8e Mon Sep 17 00:00:00 2001 From: Yunus Emre Kalkan Date: Mon, 14 Jun 2021 14:32:26 +0300 Subject: [PATCH 1/2] Document how to add basic theme's source code into the application's solution Related https://github.com/abpframework/abp/issues/8169 --- docs/en/UI/AspNetCore/Basic-Theme.md | 8 +++++++- docs/en/UI/Blazor/Basic-Theme.md | 12 +++++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/docs/en/UI/AspNetCore/Basic-Theme.md b/docs/en/UI/AspNetCore/Basic-Theme.md index 67977ffd4e..9f5a4c368a 100644 --- a/docs/en/UI/AspNetCore/Basic-Theme.md +++ b/docs/en/UI/AspNetCore/Basic-Theme.md @@ -83,7 +83,13 @@ See the [User Interface Customization Guide](Customization-User-Interface.md) to ### Copy & Customize -You can download the [source code](https://github.com/abpframework/abp/tree/dev/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic) of the Basic Theme, copy the project content into your solution, re-arrange the package/module dependencies (see the Installation section above to understand how it was installed to the project) and freely customize the theme based on your application requirements. +You can run the following [ABP CLI](../../CLI.md) command to copy the source code to your solution: + +`abp add-package Volo.Abp.AspNetCore.Components.Server.BasicTheme --with-source-code --add-to-solution-file` + +---- + +Or, you can download the [source code](https://github.com/abpframework/abp/tree/dev/modules/basic-theme/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic) of the Basic Theme, manually copy the project content into your solution, re-arrange the package/module dependencies (see the Installation section above to understand how it was installed to the project) and freely customize the theme based on your application requirements. ## See Also diff --git a/docs/en/UI/Blazor/Basic-Theme.md b/docs/en/UI/Blazor/Basic-Theme.md index 926d15cf11..970598462d 100644 --- a/docs/en/UI/Blazor/Basic-Theme.md +++ b/docs/en/UI/Blazor/Basic-Theme.md @@ -50,7 +50,17 @@ See the [Customization / Overriding Components](Customization-Overriding-Compone ### Copy & Customize -You can download the [source code](https://github.com/abpframework/abp/tree/dev/framework/src/Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme) of the Basic Theme, copy the project content into your solution, re-arrange the package/module dependencies (see the Installation section above to understand how it was installed to the project) and freely customize the theme based on your application requirements. +You can run the following [ABP CLI](../../CLI.md) commands to copy the source code to your solution: + +`abp add-package Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme --with-source-code --add-to-solution-file` + +Then, navigate to downloaded `Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme` project folder and run: + +`abp add-package Volo.Abp.AspNetCore.Components.Web.BasicTheme --with-source-code --add-to-solution-file` + +---- + +Or, you can download the [source code](https://github.com/abpframework/abp/tree/dev/framework/src/Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme) of the Basic Theme, manually copy the project content into your solution, re-arrange the package/module dependencies (see the Installation section above to understand how it was installed to the project) and freely customize the theme based on your application requirements. ## See Also From ba2c851909f49049bdca09d6c8affc767aecf829 Mon Sep 17 00:00:00 2001 From: Yunus Emre Kalkan Date: Tue, 15 Jun 2021 11:21:58 +0300 Subject: [PATCH 2/2] Update Basic-Theme.md files --- docs/en/UI/AspNetCore/Basic-Theme.md | 2 +- docs/en/UI/Blazor/Basic-Theme.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/UI/AspNetCore/Basic-Theme.md b/docs/en/UI/AspNetCore/Basic-Theme.md index 9f5a4c368a..e2cad8d3d2 100644 --- a/docs/en/UI/AspNetCore/Basic-Theme.md +++ b/docs/en/UI/AspNetCore/Basic-Theme.md @@ -83,7 +83,7 @@ See the [User Interface Customization Guide](Customization-User-Interface.md) to ### Copy & Customize -You can run the following [ABP CLI](../../CLI.md) command to copy the source code to your solution: +You can run the following [ABP CLI](../../CLI.md) command in **Web** project directory to copy the source code to your solution: `abp add-package Volo.Abp.AspNetCore.Components.Server.BasicTheme --with-source-code --add-to-solution-file` diff --git a/docs/en/UI/Blazor/Basic-Theme.md b/docs/en/UI/Blazor/Basic-Theme.md index 970598462d..fc2d7a0526 100644 --- a/docs/en/UI/Blazor/Basic-Theme.md +++ b/docs/en/UI/Blazor/Basic-Theme.md @@ -50,11 +50,11 @@ See the [Customization / Overriding Components](Customization-Overriding-Compone ### Copy & Customize -You can run the following [ABP CLI](../../CLI.md) commands to copy the source code to your solution: +You can run the following [ABP CLI](../../CLI.md) command in **Blazor WebAssembly** project directory to copy the source code to your solution: `abp add-package Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme --with-source-code --add-to-solution-file` -Then, navigate to downloaded `Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme` project folder and run: +Then, navigate to downloaded `Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme` project directory and run: `abp add-package Volo.Abp.AspNetCore.Components.Web.BasicTheme --with-source-code --add-to-solution-file`