Famous / Famous/famous-angular

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

Open
#359 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.9k
Forks
267
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.