Skip to content

Instantly share code, notes, and snippets.

@neilmillard
Forked from rtablada/ember-build.sh
Last active August 29, 2015 14:06
Show Gist options
  • Save neilmillard/b34f20f21efc08623f5e to your computer and use it in GitHub Desktop.
Save neilmillard/b34f20f21efc08623f5e to your computer and use it in GitHub Desktop.
ember build
cp dist/index.html app/views/app.php
cp -r dist/assets public/assets
// At the bottom of your routes file add this catch-all route to serve up your built ember application:
Route::get('{data?}', function()
{
return View::make('app');
})->where('data', '.*');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment