What is Ember.js? Write the steps to create an app in Ember.js?

devquora
devquora

Posted On: Feb 22, 2018

 

Ember.js is an open source technology written in javascript based on a model view pattern and was developed by ember core team on 8th December 2011. These are the steps to create an application in ember.js is :
  1. Firstly install an ember-cli. Almost all applications are built with ember-cli.
  2. Create a new application by using ember new and an application will be generated.
  3. Use materialize-CSS for styling to give a material design.
  4. Create components by using ember g component.
  5. Check whether there is a router.js file in which all of your routes are defined.
  6. If I have a video route and I would like to display a set of youtube videos on the page then I am going to create a simple video card component that I will be iterating over and display on the video page.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Emberjs Interview questions

    Explain directory structure in Ember.js?

    The new command generates a project structure also called directory structure with the following files and directories:I..

    Emberjs Interview questions

    Explain what is ember-data?

    Ember comes with a data management library called Ember data which deals with application data that defines the structur..

    Emberjs Interview questions

    What is ember route? How can you generate a route in ember.js?

    An ember route is built with three parts:An entry in the Ember router which maps between our route name and a specific..