Skip to content

Instantly share code, notes, and snippets.

@Gaurav0
Last active March 4, 2020 08:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gaurav0/d6149ae97e4e2745a99570b788aa975c to your computer and use it in GitHub Desktop.
Save Gaurav0/d6149ae97e4e2745a99570b788aa975c to your computer and use it in GitHub Desktop.
Template Only Glimmer Component
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
<h1>Welcome to {{appName}}</h1>
<div class="test-parent">
<MyComponent @appName={{this.appName}} />
</div>
{
"version": "0.17.0",
"EmberENV": {
"FEATURES": {},
"_TEMPLATE_ONLY_GLIMMER_COMPONENTS": true,
"_APPLICATION_TEMPLATE_WRAPPER": true,
"_JQUERY_INTEGRATION": false
},
"options": {
"use_pods": false,
"enable-testing": false
},
"dependencies": {
"ember": "3.14.3",
"ember-template-compiler": "3.14.3",
"ember-testing": "3.14.3"
},
"addons": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment