silverbux / laravel-angular-admin

Laravel + Angularjs + Bootstrap + AdminLTE binded by Gulp workflow Admin Dashboard Boilerplate / Starter.
http://silverbux.github.io/laravel-angular-admin/
MIT License
923 stars 415 forks source link

Can't add new plugin #92

Open ankitparmar372 opened 7 years ago

ankitparmar372 commented 7 years ago

Try to install plugin using bower component but its not working i try to install summernote and select2 bottstrap-select.if possible then give me link to add plugin in this theme. thank you

gnud commented 7 years ago

in tasks/bower.task.js, section bower-js, add the main files of the plugin you seek, cause some bower packages don't have proper main mappings. You will find example of a main in the bower-css:

bootstrap: {
          main: [
            './dist/css/bootstrap.min.css'
          ]
},

insert the above code in the bower-js, change the name of the plugin i.e bootstrap to select2 or whatever, and finally change the path of the js file.

Install the bower package first: bower install select2 --save Then run: gulp --production

Hope it works :)

ankitparmar372 commented 7 years ago

thanks man i try it soon