I just learned something new. The "@" has special meaning to NPM - everything between it and the "/" is the scope. A scope can be a user or organization. It's basically telling you who the owner is.
Still, it has no special meaning to NodeJS or the module systems. On Thu, Jun 30, 2016, 08:40 Lucas Lacroix <[email protected]> wrote: > The "@" is just a part of the package name. There is no special meaning. > > On Thu, Jun 30, 2016 at 8:03 AM, Dawg <[email protected]> wrote: > >> Hello, >> >> The different tutorials I looked at has variations in how it >> imports classes into its components, example: >> >> *1 import { Component } from '@angular/core';* >> >> *2. import {CourseComponent} from './courses.component'* >> >> As you can see the first import has the *@ *sign verses the second line >> which I understand how it works but bit confused as to the purpose of @ in >> the first import??? >> >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "AngularJS" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at https://groups.google.com/group/angular. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Lucas Lacroix > Computer Scientist > System Technology Division, MEDITECH <http://ehr.meditech.com> > 781-774-2293 > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
