@windmillcode/angular-wml-schematics
v18.2.8001
Published
The Angular WML Schematics library serves as a foundational toolkit for Angular web application development, establishing a solid baseline from which developers can construct and expand their projects. Central to this library is the concept of WMLUIProper
Downloads
878
Readme
WML Schematics
The Angular WML Schematics library serves as a foundational toolkit for Angular web application development, establishing a solid baseline from which developers can construct and expand their projects. Central to this library is the concept of WMLUIProperty, a fundamental element that encapsulates the essence of web application components, down to the finest detail. This library not only streamlines the development process by providing pre-defined subclasses like WMLRoute for routing, WMLView for dynamic components, and WMLMotionUIProperty for CSS animations and transitions but also ensures consistency and scalability across your application. Dive into the documentation to explore how these building blocks can be orchestrated to create robust, maintainable, and dynamic web applications.
Installation
Terminal window npm install -s --verbose @windmillcode/angular-wml-schematics
Usage
As you follow along close each terminal and open a new one so you can start in root
To create a layout
Terminal windowcd src/app/layoutsnpx ng g @windmillcode/angular-wml-schematics:component --name=custom-layout --routing=true --route=layout --routes-file-path=src/app/app.routes.ts --standalone=true --cpnt-type=default
then navigate to the layout route and check for the element in dev tools you will need to add a router-outlet
To create a page
Terminal windowcd src/app/pagesnpx ng g @windmillcode/angular-wml-schematics:component --name=custom-page --route-key=upload --route=page --routes-file-path=src/app/app.routes.ts --standalone=true --cpnt-type=default
you would first create a layout then the page then add the page as a child of the layout route
To create a container component
Terminal windowcd src/app/shared/componentsnpx ng g @windmillcode/angular-wml-schematics:component --name container-zero --is-props-child=true --module=shared --is-page-module=false
To make a service
Terminal windowcd src/app/shared/servicesnpx ng g @windmillcode/angular-wml-schematics:service --name custom
To create a service method
Terminal windowcd src/app/shared/services/customnpx ng g @windmillcode/angular-wml-schematics:service-method --name getJsonData --service-name custom --api-route="/v2/list.json" --http-method get
To create a form
You will need a component and service to existTerminal windowcd src/app/shared/components/container-zeronpx ng g @windmillcode/angular-wml-schematics:form --api-call this.customService.getJsonData --fields firstName lastName address
**Open A New terminal to try out the commands and see how the project gets updated
References
template-component Schematic
template-form Schematic
template-library Schematic
template-module Schematic
template-service Schematic
template-serviceMethod Schematic
template-scroll Schematic
v18.1.3001 [8/4/24]
updated package to conform with @windmillcode/angular-wml-components-base
v18.1.3002 [8/4/24]
updated package to conform with @windmillcode/angular-wml-components-base
v18.1.3003 [8/5/24]
updated package to conform with @windmillcode/angular-wml-components-base
v18.1.3003 [8/5/24]
updated package to conform with @windmillcode/angular-wml-components-base
v18.1.3004 [8/5/24]
updated package to conform with @windmillcode/angular-wml-components-base
v18.1.3005 [8/5/24]
updated package to conform with @windmillcode/angular-wml-components-base
v18.1.3006 [8/5/24]
updated package to conform with @windmillcode/angular-wml-components-base
v18.1.3007 [8/5/24]
updated package to conform with @windmillcode/angular-wml-components-base
v18.1.4000 [8/14/24]
updated package to conform with @windmillcode/angular-wml-components-base
v18.1.4001 [8/14/24]
updated package to conform with @windmillcode/angular-wml-components-base
v18.2.0 [8/15/24]
updated package to conform with @windmillcode/angular-wml-components-base
v18.2.1 [8/20/24]
updated package to conform with @windmillcode/angular-wml-components-base
v18.2.1000 [8/22/24]
updated package to reflect the version 18.2.1 of @angular/cli package
v18.2.2000 [8/30/24]
updated package to reflect the version 18.2.2 of @angular/cli package
v18.2.2100 [9/1/24]
updated package to conform with @windmillcode/angular-wml-components-base
v18.2.2101 [9/1/24]
updated package to conform with @windmillcode/angular-wml-components-base
v18.2.2200 [9/3/24]
updated package to conform with @windmillcode/angular-wml-components-base
v18.2.3000 [9/4/24]
updated package to reflect the version 18.2.3 of @angular/cli package
v18.2.3100 [9/8/24]
updated package to reflect the version 18.2.3 of @angular/cli package
v18.2.3112 [9/10/24]
[FIX] ensure new imports match to conform with @windmillcode/[email protected]
v18.2.3200 [9/16/24]
updated package to conform with @windmillcode/wml-components-base
v18.2.4000 [9/16/24]
updated package to reflect the version 18.2.4 of @angular/cli package
v18.2.4100 [9/19/24]
updated package to reflect the version 18.2.4 of @angular/cli package
v18.2.4200 [9/21/24]
updated package to conform with @windmillcode/wml-components-base[PATCH] ensured lint configraution gets added when creating a new library, tried to move the free and paid modules to the root folder of a library but only succcced in creating them in the addtl folder
v18.2.5000 [9/22/24]
updated package to reflect the version 18.2.5 of @angular/cli package
v18.2.5001 [9/22/24]
updated package to reflect the version 18.2.5 of @angular/cli package
v18.2.6000 [10/1/24]
updated package to reflect the version 18.2.6 of @angular/cli package
v18.2.7000 [10/2/24]
updated package to reflect the version 18.2.7 of @angular/cli package
v18.2.7001 [10/6/24]
updated package to conform with @windmillcode/wml-components-base
v18.2.7010 [10/9/2024 11:27:56 AM EST]
[UPDATE] projects/wml-schematics/schematics/template-service-method/index.ts updated url method in the WMLEndpoint to use backendURI0.fqdn from WMLUri class of @windmillcode/wml-components-base instead of backendDomain0 . If you’re using this, just know the URLs are now built using fqdn for more flexibility.And future project templates now use WMLUri and backendURI0 to reference to uri representation of the server
v18.2.7020 [10/10/24]
updated package to conform with @windmillcode/wml-components-base
v18.2.8000 [10/10/24]
updated package to reflect the version 18.2.8 of @angular/cli package