Skip to content

Latest commit

 

History

History
70 lines (43 loc) · 2.3 KB

File metadata and controls

70 lines (43 loc) · 2.3 KB

sample-app

Simple app used to demonstrate how to use Ember

Webinar for this : YouTube link

IMPORTANT:

To use pods in your project:

  • Enable pods in enviroment.js by putting podModulePrefix: '<app-name>/pods', like here

  • Create a pods folder manually in your app folder ,like here

  • Install ember-component-css addon from terminal by running: ember install ember-component-css

  • Include in app.css, line @import 'pod-styles.css'; here

  • Now, for EVERY component you generate, add the --pod flag: ember g component <comp-name> --pod

Sidenote: There is a way where the pod becomes default by putting in a config file, but not mentioned at the demo

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • cd sample-app
  • npm install

Running / Development

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • ember test
  • ember test --server

Building

  • ember build (development)
  • ember build --environment production (production)

Deploying

Specify what it takes to deploy your app.

Further Reading / Useful Links