Skip to content

Instantly share code, notes, and snippets.

@aduartem
Last active May 21, 2022 19:35
Show Gist options
  • Select an option

  • Save aduartem/e5aba70a30d2b8c2d7d39f9384826e44 to your computer and use it in GitHub Desktop.

Select an option

Save aduartem/e5aba70a30d2b8c2d7d39f9384826e44 to your computer and use it in GitHub Desktop.
Bower

Bower

Para instalar Bower primero debemos instalar npm de Node JS.

Node.js & npm

En Mac OS X instalar Node vía brew:

$ brew install node

En Ubuntu o Debian instalar vía apt-get:

Node.js v6 LTS

$ curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
$ sudo apt-get install -y nodejs
$ sudo apt-get install -y build-essential

Para revisar que versión instalada de npm y Node respectivamente:

$ npm -v
$ node -v

Bower

$ sudo npm install -g bower

Crear archivo bower.json

$ bower init

Este comando crea de forma interactiva el archivo bower.json. Nos preguntará la versión, nombre del proyecto, autor, etc.

Instalar jQuery

$ bower install jquery --save

Instalar jQuery UI

$ bower install jquery-ui --save

Instalar Bootstrap

$ bower install bootstrap --save

Instalar Backbone

$ bower install git@github.com:jashkenas/backbone.git --save

Instalar Font Awesome

$ bower install font-awesome --save

Instalar Highcharts

$ bower install highcharts --save

Instalar SweetAlert para Bootstrap

$ bower install bootstrap-sweetalert --save

LumX

$ bower install lumx --save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment