Simple app used to demonstrate how to use Ember
Webinar for this : YouTube link
To use pods in your project:
-
Enable pods in
enviroment.jsby puttingpodModulePrefix: '<app-name>/pods', like here -
Create a
podsfolder manually in yourappfolder ,like here -
Install
ember-component-cssaddon 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
--podflag: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
You will need the following things properly installed on your computer.
- Git
- Node.js (with NPM)
- Ember CLI
- Google Chrome
git clone <repository-url>this repositorycd sample-appnpm install
ember serve- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
Make use of the many generators for code, try ember help generate for more details
ember testember test --server
ember build(development)ember build --environment production(production)
Specify what it takes to deploy your app.