Created
May 19, 2014 18:06
-
-
Save rtablada/027072d6632946b655ea to your computer and use it in GitHub Desktop.
Build Script for using Ember CLI and Laravel PHP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ember build | |
cp dist/index.html app/views/app.php | |
cp -r dist/assets public/assets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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