![]() NOTE: All of this is for dev testing purposes. The build command above should have added your lib as its own folder withing dist npm install. Then go back to your app root folder and install the application by referencing the dist folder. The prod tag is optional but it helps to run your code in that flag so that it is the closest to what it will look like once you publish Then run the following build command ng build -prod ![]() projects/ as it was generated by the lib command above. To be able to use the lib above locally without publishing you will need to do the followingįrom withing your app directory for which you generated the lib, go into. Otherwise, if you want to do this manually it'll require more work. This will setup your lib with the necessary files so that you can add it as a dependency. You need to create the library by using ng generate library
0 Comments
Leave a Reply. |