| 1. |
Explain Directory Structure In Ember.js? |
|
Answer» 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_modules/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. 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_modules/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. |
|