Nightmarish Pawnshop Mystic
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    awesomebox-bowerpublic

    awesomebox-bower

    Bower plugin for awesomebox

    Installation

    Just add "awesomebox-bower" to the plugins array in your awesomebox.json file.

    This package does not include bower. You can install bower globally with npm install -g bower.

    Usage

    In you html files you can use bower:component-name:filename in your link and script tags to reference files in your bower components.

    For instance, if you're using jquery and your index.html file and it originally looked like this:

    <!DOCTYPE html>
    <html>
      <head>
        <script src="/components/jquery/jquery.min.js"></script> 
      </head>
      <body>
      </body>
    </html>

    You could replace the script src like this:

    <!DOCTYPE html>
    <html>
      <head>
        <script src="bower:jquery:jquery.min.js"></script> 
      </head>
      <body>
      </body>
    </html>

    License

    Copyright (c) 2013 Matt Insler
    Licensed under the MIT license.

    Keywords

    none

    install

    npm i awesomebox-bower

    Downloadslast 7 days

    3

    version

    0.2.0

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar