SSR of Stencil Webcomponents in Angular
This repository shows how to integrate Stencil webcomponnets into an Angular application.
- web-components contains the webcomponent we want to use in the Angular application
- stencil-angularapp-demo contains a simple Angular project that imports the webcomponent and uses it
Getting started
First, clone the repo:
git clone https://gitlab.ost.ch/tim.gamma/stencil-webcomponents-ssr-in-angular.git
cd stencil-webcomponents-ssr-in-angular
Install all necessary NPM-packages:
cd stencil-angularapp-demo
npm install
cd ..
cd web-components
npm install
The webcomponents need to run the build script, run the following command inside the web-components folder:
npm run build