How to create angular library and publish on npm?

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 พ.ย. 2024

ความคิดเห็น • 16

  • @connectingdots0-0
    @connectingdots0-0 2 หลายเดือนก่อน

    Neat explanation. Do you have this entire code base anywhere in the Github?

  • @_Greenflag_
    @_Greenflag_ 10 หลายเดือนก่อน +1

    Yop, thanks. Was interested in the npm part.

    • @AyyazTech
      @AyyazTech  10 หลายเดือนก่อน

      I'm glad you found the npm part interesting! Let me know if you have any more questions or if there's anything else you'd like to see on the channel.
      Don't forget to subscribe to the AyyazTech channel and click the bell icon for notifications on our latest content. Your support means the world to us! Keep watching and sharing your thoughts.

  • @aniruddhtiwari7378
    @aniruddhtiwari7378 11 หลายเดือนก่อน +1

    great video!!! thank you :)

    • @AyyazTech
      @AyyazTech  11 หลายเดือนก่อน +1

      I'm thrilled to hear you enjoyed the video! Thank you so much for your positive feedback. If there's anything specific you'd like us to explore in future videos, please don't hesitate to share your thoughts. Remember to subscribe to AyyazTech for more content, hit the like button to support us, and click the bell icon to stay updated on our latest uploads. Your engagement is greatly appreciated! 🌟👍🔔

  • @vishwanathamramu981
    @vishwanathamramu981 9 หลายเดือนก่อน

    Its a grate video , Amazing

  • @hvskrishnakanth
    @hvskrishnakanth 7 หลายเดือนก่อน

    Hey hi, thank you so much for the tutorial. I am having a question. When I am trying to create library, my-library.module.ts is not auto generating. I am using lastest version of angular.

  • @mandarxsalvi
    @mandarxsalvi 8 หลายเดือนก่อน

    amazing video, can you tell me how to use the same component in another angular project by adding the package in new package ?

  • @marghuburrahmanansari4952
    @marghuburrahmanansari4952 3 หลายเดือนก่อน

    i want to use standalone project instead of module wise project. then how we can create library?

  • @senthamarai_kannan.
    @senthamarai_kannan. 4 หลายเดือนก่อน

    Without publishing i cannot use in another angular project? am i right ?

  • @nandhakumarappusamy9457
    @nandhakumarappusamy9457 7 หลายเดือนก่อน +1

    Hi is it right now possible to create library using standalone components? I have tried and facing some problems.

    • @AyyazTech
      @AyyazTech  7 หลายเดือนก่อน

      Hi there! Creating libraries with standalone components in Angular is currently an experimental feature. While it's possible, it might come with some challenges.
      If you're facing issues, I recommend checking out the Angular documentation on standalone components and libraries. They provide guidance on the current state and limitations.
      Consider opening an issue on the Angular GitHub repo if you encounter bugs or have specific questions. The Angular team and community are there to help!
      Stay tuned for more updates on this topic. Like and subscribe for the latest Angular insights, and visit ayyaztech.com for in-depth articles.
      Keep experimenting and happy coding!

  • @arockiyarajganapathy1218
    @arockiyarajganapathy1218 5 หลายเดือนก่อน +1

    Hi. How to import the library in static html pages?

    • @AyyazTech
      @AyyazTech  5 หลายเดือนก่อน

      Hi! To import a library into a static HTML page, you generally follow these steps:
      1. Include the library using a `` tag:
      Most libraries provide a CDN (Content Delivery Network) URL that you can use directly in your HTML. For example, if you're using a library like jQuery, you would include it like this:

      2. Download the library and host it locally:
      If you prefer to host the library locally, you can download the library file and include it in your project directory. Then you can reference it in your HTML like this:

      Here's a brief example of how you can include a library and use it in your HTML:

      Library Example

      My Web Page
      Hello, world!
      // Use the library
      $(document).ready(function() {
      $("#demo").text("Hello, jQuery!");
      });
      If you are working with specific Angular libraries, the process is similar but you would typically use Angular CLI for Angular projects. For static HTML pages, you would rely on libraries available through CDNs or local files.
      Additional Resources
      Here are some related videos and articles you might find useful:
      How to Create a Draggable Window using JavaScript and Tailwind CSS | Beginner-Friendly Tutorial
      th-cam.com/video/3RIQ7kkZBrw/w-d-xo.html
      Create Modern Multiple File Selector with Image Preview Using Tailwind CSS and Vanilla JavaScript
      th-cam.com/video/wBK9fSeWbXw/w-d-xo.html
      How to Install and Use Tailwind CSS in Angular?
      www.ayyaztech.com/blog/how-to-install-and-use-tailwind-css-in-angular
      Feel free to ask if you have more questions or need further assistance! Don't forget to like, share, and subscribe for more tutorials! 🔔
      Happy coding! 🚀

  • @vishwanathamramu981
    @vishwanathamramu981 9 หลายเดือนก่อน

    how to update that library and get latest changes in npm ?