reliefsupports.org-v1 icon indicating copy to clipboard operation
reliefsupports.org-v1 copied to clipboard

Compiling Assets (Laravel Mix)

Open thilinag opened this issue 7 years ago • 3 comments

We are attaching flat-ui.min.css, abhaya libre font, bootstrap and the js files separately right now. Ideally we should generate the app.css using mix.

Initially I had issues running npm run dev.

webpack.config.js:126
let extractPlugin = new plugins.ExtractTextPlugin(
^^^

https://github.com/JeffreyWay/laravel-mix/issues/551#issuecomment-285625619 fixed this.

thilinag avatar May 30 '17 05:05 thilinag

Fixed and merged. closing now.

heimdallrj avatar Jun 01 '17 18:06 heimdallrj

@thinkholic can we reopen this. we still need to merge https://github.com/reliefsupports/reliefsupports.org/pull/154 after @Chathula merge updates.

Also we need to build production versions of the app.css and app.js

With dev build screenshot_2017-06-02_10-35-38

With prod build screenshot_2017-06-02_10-37-11

Furthermore we can optimize the flat-ui theme and bootstrap by removing unwanted modules etc. which will result in even smaller css file.

Till we come up with a proper theme/design lets use flat-ui bootstrap setup. I believe @pathumego was also interested/working on styles and ux.

thilinag avatar Jun 02 '17 05:06 thilinag

@thilinag reopned.

heimdallrj avatar Jun 02 '17 06:06 heimdallrj