Ember-template aims to help developers create Ember.js applications with a modular approach. At the same time, compiling the application down to simply static assets, an application.js file and an application.css file.
This repo contains all the code necessary to develop your application and perform the compilation procedure.
By default it ships with the Ember.js Todos application already running.
Clone the repository and enter the ember-template directory. You'll need Ruby and Bundler.
bundle install
bundle exec rackup
You will now have a server running at http://127.0.0.1:9292. To access your Ember.js application go to:
http://127.0.0.1:9292/index.html
Your Ember.js application should be built inside the ember-skeleton folder. Use the following file/folder explanations as a guide:
ember-skeleton
|- controllers -- Ember.js controllers
|- models -- Ember.js models
|- static -- Any static assets (images, media) associated with your application
|- stylesheets -- Either CSS or SASS files for your application
|- templates -- Ember.js templates
On each page refresh, the rake-pipeline Rack middleware will compile the application into public/application.
In order to load the main controller of your application you must append that controller's view to the page.
You can do this using the appendTo method built into Ember.js, like so:
var MainView = Ember.View.create({
templateName: 'main_view'
}).appendTo('#ember-skeleton');
- Add Coffeescript support to the Assetfile
- Hopefully track the rake-pipeline gem against rubygems instead of the git repo
Copyright (c) 2012 Jason Barry, Steve Agalloco. See LICENSE for details
ember-foodchart's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
OpenClaw
Personal AI Assistant
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.