Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

Angular import from local library

ng build --project=example-component-library
cd dist/example-component-library
npm link
// Link an Angular project by running command in root folder:
npm link example-component-library
// Now you can import into project: import { feature } from 'example-component-library'
Source by www.willtaylor.blog #
 
PREVIOUS NEXT
Tagged: #Angular #import #local #library
ADD COMMENT
Topic
Name
1+7 =