Nestable icon indicating copy to clipboard operation
Nestable copied to clipboard

Added support for bower

Open brunowego opened this issue 11 years ago • 5 comments

At this moment this package not have support for bower, but if you try: "bower info Nestable" you can get a little information about, but if you using grunt not can inject automatically the JS file.

brunowego avatar Jun 26 '14 02:06 brunowego

Please, please, please, merge it!

MilanPala avatar Nov 13 '14 10:11 MilanPala

@MilanPala you can overwrite the grunt wiredep and not depend the package more:

    // Automatically inject Bower components into the HTML file
    wiredep: {
      app: {
        ignorePath: /^\/|(\.\.\/){1,3}/,
        src: ['<%= config.app %>/templates/layouts/master.hbs'],
        exclude: [
          'bower_components/bootstrap/dist',

          'bower_components/bootstrap-datepicker/css/datepicker.css',
          'bower_components/fontawesome/css/font-awesome.css',
          'bower_components/toastr/toastr.css',
          'bower_components/rv-jquery-fontsize/css/base.css',
          'bower_components/rv-jquery-fontsize/css/rvfs.css'
        ],
        devDependencies: true,
        overrides: {
          'jQuery-Mask-Plugin': {
            main: 'jquery.mask.js'
          },
          'parsleyjs': {
            main: [
              './dist/parsley.js',
              './src/i18n/pt-br.js'
            ]
          },
          'summernote': {
            main: [
              './dist/summernote.js',
              './lang/summernote-pt-BR.js',
              './dist/summernote.css'
            ]
          },
          'bootstrap-datepicker': {
            main: [
              './js/bootstrap-datepicker.js',
              './js/locales/bootstrap-datepicker.pt-BR.js',
              './css/datepicker3.css'
            ]
          }
        }
      },
      sass: {
        src: ['<%= config.app %>/styles/{,*/}*.{scss,sass}'],
        ignorePath: /(\.\.\/){1,2}bower_components\//
      }
    },

brunowego avatar Nov 13 '14 18:11 brunowego

Waiting for merge :+1:

brunowego avatar Nov 21 '14 11:11 brunowego

I'd be great to have this pull request merged. We need support for bower...

gyss avatar Mar 21 '15 14:03 gyss

@gyss, @brunowego @MilanPala there is active maintenance fork of this repository with support for bower. Check Nestable2

pjona avatar Jul 15 '17 12:07 pjona