You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the dependencies to the project npm i @falcon-ng/tailwind
In Development
During development the best way to consume library is using npm link
cd dist/@falcon-ng/tailwind
npm link
We can link an Angular project to this library from anywhere on local machine. From the project root folder:
npm link @falcon-ng/tailwind
If we now build the library with the watch flag ng build @falcon-ng/tailwind --watch, and at the same time run ng serve -o to another project in another terminal window.
This will allow us to develop an application and (one or more) linked libraries simultaneously, and see the app recompile with each modification to the library’s source code.
add preserveSymlinks = true to the angular.json located at the other project