Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4829

Build for PHP framework

$
0
0

@NicholasJohn16 wrote:

I have an Ember app that's part of a component for a php framework. Currently, whenever I build a new version, I have to copy all the js and css files over and manually update the checksums in a php file. I'm trying to automate these tasks.

I think I've solved my first problem which is building to a php file instead of a html file by changing the index.html to default.php in ember-cli-build.js, but my problem now is that a lot of extra information is included in there that I don't need. For instance, all the head and body declarations. I just need the script and link tags for the vendor and app assets and some php specific stuff.

If I add the php stuff to the index.html file, it causes issues and I need the head and body tags while I'm developing. Is there anyway to use a different index.html (or a index.php) file when I'm doing a production build? Can anyone give me some ideas on how to approach this? Thanks.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4829

Trending Articles