Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Can't add new plugin #92

Open
ankitparmar372 opened this issue Feb 2, 2017 · 2 comments
Open

Can't add new plugin #92

ankitparmar372 opened this issue Feb 2, 2017 · 2 comments

Comments

@ankitparmar372
Copy link

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
Copy link

gnud commented Feb 23, 2017

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
Copy link
Author

thanks man i try it soon

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants