Explain directory structure in Ember.js?

devquora
devquora

Posted On: Feb 22, 2018

 

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

I-app:- This is where folders and files for models, components, routes, templates, and styles are stored.

I-bower_components/ bower.json:- Bower is a dependency management tool which is used in Ember CLI to manage front-end plugins and component dependencies.

I-config:- The config directory contains the environment.js where we can configure settings for your app.

I-dist:-When we build our app for deployment, the output files will be created here.

I-node_nodules/package.json:- Directory and files are from npm. Npm is the package manager for node.js.

Public:- This directory contains assets such as image and fonts.

Vendor:- This directory is where front-end dependencies that are not managed by Bower go.

Tests/testem.js:- Automated tests for our app go in the test folder, and testem is configured in testem.js.

Tmp:- Ember CLI temporary files live here.

Ember-cli-build.js:- This file describes how Ember CLI should build our app.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Emberjs Interview Questions

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

    Ember.js is an open source technology written in javascript based on a model view pattern and was developed by ember cor..

    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..