Search code examples
angularcdnunpkg

Content Delivery Network unpkg.com @angular path syntax


In an Angular2 demo, there is a script src that uses the unpkg.com CDN.

<script src="https://unpkg.com/@angular/core/bundles/core.umd.js"></script>

I am trying understand what the @angular path does and how it works. I have tried looking at the documentation but have not found an explaination.


Solution

  • The angular team prefixes all of their package names with @ just to call them out as being official packages. There's no special syntax at work here, just naming convention.