laravel-angular-admin icon indicating copy to clipboard operation
laravel-angular-admin copied to clipboard

Can't add new plugin

Open ankitparmar372 opened this issue 8 years ago • 2 comments

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

ankitparmar372 avatar Feb 02 '17 13:02 ankitparmar372

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 :)

gnud avatar Feb 23 '17 02:02 gnud

thanks man i try it soon

ankitparmar372 avatar Feb 25 '17 06:02 ankitparmar372