Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Named export, default import
import Ember from 'ember';
import NamedExports from './exporting';
export default Ember.Controller.extend({
appName: NamedExports.appName
export let appName = 'Named export, default import';
<h1>Welcome to {{appName}}</h1>
"version": "0.15.1",
"EmberENV": {
"options": {
"use_pods": false,
"enable-testing": false
"dependencies": {
"jquery": "",
"ember": "3.4.3",
"ember-template-compiler": "3.4.3",
"ember-testing": "3.4.3"
"addons": {
"ember-data": "3.4.2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment