IMS94 / chr247.com

An open source multi tenant cloud platform for small scale clinics
https://chr247.herokuapp.com
MIT License
63 stars 35 forks source link

Refactor angularjs code to use gulp #8

Open IMS94 opened 7 years ago

IMS94 commented 7 years ago

The angular JS code used in this app is written inside public/js which is not the correct place where it should be. It should be moved to resources/assets directory and use gulp task to output one js file to the public directory.

JaredsCode commented 7 years ago

@IMS94 I'd like to work this for you, unless someone else has already

IMS94 commented 7 years ago

@JaredsCode Great! Go on. Ask me if you need anything clarified.

lachieh commented 7 years ago

This issue needs a bit more information. As far as I can see there are a lot of JS files in the public directory, but not all of them appear to be in use. Is there a list of files that should be compiled into one? Should the gulp script concatenate all the files currently listed in the layouts.master and layouts.app blade templates or should it just copy them?

IMS94 commented 7 years ago

@lachieh For the moment, including all the files in public/js into one file is enough. Then we can add the resulting file to latouts.master directly.