Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save Gaurav0/b5923476dd8c89a85bf6604519e6d63b to your computer and use it in GitHub Desktop.
Save Gaurav0/b5923476dd8c89a85bf6604519e6d63b to your computer and use it in GitHub Desktop.
lf-test
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
import Ember from 'ember';
import config from './config/environment';
const Router = Ember.Router.extend({
location: 'none'
});
Router.map(function() {
this.route('contact');
});
export default Router;
<h1>Welcome to {{appName}}</h1>
<br>
<br>
{{liquid-outlet}}
<h2>Contact</h2>
<br>
<br>
{{#link-to 'index'}}Home{{/link-to}}
<h2>Home</h2>
<br>
<br>
{{#link-to 'contact'}}Contact{{/link-to}}
export default function(){
this.transition(
this.use('toLeft'),
this.reverse('toRight')
);
};
{
"version": "0.7.2",
"EmberENV": {
"FEATURES": {}
},
"addons":{
"liquid-fire":"latest",
"ember-bootstrap": "latest"
},
"options": {
"use_pods": false,
"enable-testing": false
},
"dependencies": {
"jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js",
"ember": "https://cdnjs.cloudflare.com/ajax/libs/ember.js/2.4.4/ember.debug.js",
"ember-data": "https://cdnjs.cloudflare.com/ajax/libs/ember-data.js/2.4.3/ember-data.js",
"ember-template-compiler": "https://cdnjs.cloudflare.com/ajax/libs/ember.js/2.4.4/ember-template-compiler.js"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment