samedi 16 février 2019

What is the '@' sign used for in Ember.js?

This is a generic question and one that may have even been asked on other forums, such as the Ember forums. But I wanted to add this into StackOverflow.

But my question is why does Ember so often use an @ in front of it's libraries. A quick example, using an Ember component in Ember 3.4:

import Component from '@ember/component';

While at the same time, I had an old project from the 2.0 days that was structured like the following:

import Ember from 'ember';

Why does Ember now include an @ sign?




Aucun commentaire:

Enregistrer un commentaire