Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Famous-global.js file is getting deleted when grunt build #359

Open
ghost opened this issue Apr 13, 2015 · 0 comments
Open

Famous-global.js file is getting deleted when grunt build #359

ghost opened this issue Apr 13, 2015 · 0 comments

Comments

@ghost
Copy link

ghost commented Apr 13, 2015

Hi there.

We have already a running project using angularjs-cordova generator. we wanted to implement Famo.us on top of it to get best of the product. we have implemented it using bower install famous-angular --save and bower update. Grunt build is able to take

link rel="stylesheet" href="bower_components/famous-angular/dist/famous-angular.css"
src="bower_components/famous-angular/dist/famous-angular.js"

we have to add manually to the index.html script src="bower_components/famous/dist/famous-global.js" for famo to work.

if we do grunt build again, the index.html will be overwritten and we loose script src="bower_components/famous/dist/famous-global.js" .

Please let me know what needs to be done. As a part of the generator, cordova apk file is created. The index file does not have script src="bower_components/famous/dist/famous-global.js" due to which the famo does not work on the mobile deployment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants