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:
1 parent
9615139554
commit
c2c81de9d0
20 files changed
+226
-61
No files matched your search
@@ -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