Convert components to standalone and implement route-based loading
Refactored Angular components to standalone modules, enhancing modularity and reducing dependency on `AppModule`. Updated routes to facilitate lazy loading for improved performance and maintainability. Replaced `platformBrowserDynamic` with `bootstrapApplication` for modern bootstrapping.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
tasks.register<Exec>("npmInstall") {
|
||||
commandLine("npm.cmd", "install")
|
||||
// commandLine("npm", "install")
|
||||
}
|
||||
|
||||
tasks.register<Exec>("ngBuild") {
|
||||
dependsOn("npmInstall", "generateFrontendApi")
|
||||
// commandLine("npm", "run", "build")
|
||||
commandLine("npm.cmd", "run", "build")
|
||||
}
|
||||
|
||||
//dependencies {
|
||||
// implementation(project(":backend"))
|
||||
//}
|
||||
Reference in New Issue
Block a user