Ember.js

From 탱이의 잡동사니
Revision as of 00:11, 26 December 2017 by Pchero (talk | contribs)
Jump to navigation Jump to search

Overview

Ember.js 내용 정리.

Directory structure

  • app
This is where folders and files for models, components, routes, templates and styles are stored. The majority of your coding on an Ember project happens in this folder.
  • config
The config directory contains the environment.js where you can configure settings for your app.
  • node_modules / package.json
This directory and file are from npm. npm is the package manager for Node.js. Ember is build with Node and uses a variety of Node.js modules for operation. The package.json file maintains the list of current pm dependencies for the app. Any Ember CLI addons you install will also show up here. Packages listed in package.json are installed in the node_modules directory.
  • public
This directory contains assets such as images and fonts.
  • vendeor
This directory is where front-end dependencies(such as JavaScript or CSS) that are not managed by Bower go.
  • tests / testem.js
Automated tests for our app go in the tests folder, and Ember CLI's test runner testem is configured in testem.js.
  • ember-cli-build.js
This file describes how Ember CLI should build our app.