Nx Stencil - Web Components for Angular - How to get started ? #379
Replies: 2 comments
-
Hey, Cheers, |
Beta Was this translation helpful? Give feedback.
-
@GeofoxCoding This video should help, at least it did for me: https://youtu.be/p9NaM4_CdmQ |
Beta Was this translation helpful? Give feedback.
-
Hi,
my name is Richard and I'm maintaining, extending and refactoring a couple of .NET web applications for the environment government agency in south western Germany. We were starting to migrate frontend apps to Angular 2+ right from the beginning of the project. During the last year I came up with Nx and I really love the developer experience.
Now we would like to start a new architecture where we are still using smart angular components for the business logic of our apps but for smaller generic components we would like to use plain web components. Yes, we could use Angular Elements for that but actually I don't find new stuff, tutorials and features for Angular Elements, it's like the project is not very active anymore. Also Angular Elements are tight to framework magic.
So I was looking for alternative frameworks which allows to create plain web components, maybe has more fine grained options for bundling components together. Maybe I want do bundle some custom button components together and so on. Also it would be great if I could maintain my web components inside my nx workspace and directly use and consume my web components in an nx angluar application or library. Nxext stencil looks interesting but I can't get it to work in the most recent nx workspace and I didn't find very basic step by step example for this minimal use case:
Any help would be very appreciated :)
Beta Was this translation helpful? Give feedback.
All reactions