Skip to content

Instantly share code, notes, and snippets.

@dschmidt
Forked from Gaurav0/controllers.application.js
Last active February 9, 2019 15:50
Show Gist options
  • Save dschmidt/5ee38755a60d54b0373d09f20c9697d5 to your computer and use it in GitHub Desktop.
Save dschmidt/5ee38755a60d54b0373d09f20c9697d5 to your computer and use it in GitHub Desktop.
Form check
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
{{nested/deep/in/my/application/my-component}}
{{#let (component 'nested/deep/in/my/application/my-component') as |bar|}}
<h1>Welcome to {{bar}}</h1>
<br>
<br>
ads
adsf
ds
{{outlet}}
<br>
<br>
{{/let}}
{
"version": "0.10.4",
"EmberENV": {
"FEATURES": {}
},
"options": {
"use_pods": true,
"enable-testing": false
},
"dependencies": {
"jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js",
"ember": "2.18.2",
"ember-template-compiler": "2.18.2"
},
"addons": {
"ember-let-polyfill": "0.1.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment