npm install
ng add @angular/elements --project=counterelment
where counterelment is name of the project
then run
npm install --save-dev concat fs-extra
Create a folder called elements
in the root of the project
Run npm run build:elements
to build the project. The build artifacts will be stored in the elements/
directory.
after that install
npm install -g static-server
change directory to elements and inside that run command
static-server
You should find project running on port 9080
Reach me at [email protected] or @debug_mode for further discussion