vcog2d

in host app: -- app.module.ts a) add import {vcog2d} from 'vcog2d'; b) add vcog2d to imports arr;

Usage no npm install needed!

<script type="module">
  import vcog2d from 'https://cdn.skypack.dev/vcog2d';
</script>

README

Vcog2d

in host app: -- app.module.ts a) add import {vcog2d} from 'vcog2d'; b) add vcog2d to imports arr;

Dummy host app you can find here: https://mad1982max.github.io/host-npm/

Stages shoud be in : src/assets Example of stage's name: storey-1.svg

//----------------------------------------------- This library was generated with Angular CLI version 8.2.4.

Code scaffolding

Run ng generate component component-name --project vcog2d to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project vcog2d.

Note: Don't forget to add --project vcog2d or else it will be added to the default project in your angular.json file.

Build

Run ng build vcog2d to build the project. The build artifacts will be stored in the dist/ directory.