@ismcagdas Hi:
Now,We can download NG package via CLI(abp get-source), but I can't find source code of @volo/abp.commercial.ng.ui
in any module ,Could you tell me how to get it, and also Is there like abp/npm/ng-packs/
project in Commercial Version,
I hope it can be get that via CLI command too
alper :
thank for your answer and help.
but, Is that mean we cant get Volo.Abp.AspNetCore.Mvc.UI.Theme.Commercial
sourcecode by cli atfer version 4.2.1 ?
Please provide a way to download sourcecode of Volo.Abp.AspNetCore.Mvc.UI.Theme.Commercial
and @volo/abp.commercial.ng.ui
,
Because almost commercial modules still depend on this package,so I need sourcecode of all modules
Thank you.
alper: please try again ,thanks. yinchang0626@gmail.com
It seems to be related to gmail security ,
I sent an email to info@abp.io
.please check it.
hi
You can create a subclass to replace FileDescriptorAppService. And overide DownloadAsync method to use AllowAnonymous attribute.
https://docs.abp.io/en/abp/latest/Customizing-Application-Modules-Overriding-Services
Hi: Thank you,It's work
Hi, the same problem with my, but I try to add a 'generator' of Nx to wrap schematic of abp, It works fine because of ignore angular.json check. You can ref below simple code ,thanks
import {
Tree,
moveFilesToNewDirectory,
generateFiles,
joinPathFragments,
visitNotIgnoredFiles,
ProjectConfiguration
} from '@nrwl/devkit';
import { wrapAngularDevkitSchematic } from '@nrwl/devkit/ngcli-adapter';
export default async function (host: Tree, schema: any) {
let module=schema.module;
let application=schema.application;
let directory=schema.directory;
let projectType=schema.projectType;
let appPath=application;//.replace('-','\\');
let runAngularLibrarySchematic = wrapAngularDevkitSchematic(
'@abp/ng.schematics',
'proxy-add'
);
await runAngularLibrarySchematic(host, {
module: module,
source: application,
target: application
});
if(projectType==='lib'){
await removeProject(host,`libs\\${directory}\\${module}\\proxy\\src\\proxy`);
moveFilesToNewDirectory(
host,
`apps\\${appPath}\\src\\app\\proxy`,
`libs\\${directory}\\${module}\\proxy\\src\\proxy`
);
}
if(projectType==='app'){
moveFilesToNewDirectory(
host,
`apps\\${appPath}\\src\\app\\proxy`,
`apps\\${appPath}\\src\\app\\${module}\\proxy`
);
}
return () => {
console.log(`proxy added '${module} to ${module} success at ${application}`);
};
}
export function removeProject(tree: Tree, path: string) {
visitNotIgnoredFiles(tree, path, (file) => {
tree.delete(file);
});
//tree.delete(path);
}
Hello yinchang,
Please try by adding following code to
MyApp\aspnet-core\src\MyApp.AuthServer\wwwroot\global-styles.css
:root .lpx-theme-dark .lpx-login-bg { background-image: url('/LeptonX/images/login-pages/login-bg-img-dark.svg') !important; } :root .lpx-theme-light .lpx-login-bg { background-image: url('/LeptonX/images/login-pages/login-bg-img-light.svg') !important; } :root .lpx-theme-dim .lpx-login-bg { background-image: url('/LeptonX/images/login-pages/login-bg-img-dim.svg') !important; }
Please do let us know if this solution has worked for you?
Awaiting for your response.
Thank You, Anjali
this solution work. Will you fix this issue for next version ?