0.3.9 • Published 5 years ago

fuel-ui v0.3.9

Weekly downloads
23
License
ISC
Repository
github
Last release
5 years ago

#Fuel-UI npm version npm downloads Dependency Status devDependency Status

A set of UI components for use with Angular 2 and Bootstrap 4.

See Fuel-UI homepage for live demo and documentation.

##Dependencies

  • Node
  • Gulp

##Build Execute the following commands to run the demo in your local environment. A browser window pops up with the demo running at http://localhost:3000

npm install
npm run sass
npm run build
npm run server

##Installation

####Fork our Quickstart! https://github.com/coryshaw1/ng2-play/ ####Fork our angular-cli Quickstart! https://github.com/FuelInteractive/fuel-ui-cli-quickstart/

###Manually with Webpack

If you would like to add Fuel-UI to your Angular2 project through npm manually, do the following:

npm install fuel-ui --save

Then simply add the proper module(s) to your base component

import { FuelUiModule } from 'fuel-ui';

@NgModule({
  bootstrap: [ YourBaseComponent ],
  declarations: [ YourBaseComponent, ... ],
  imports: [ FuelUiModule, ... ],
  providers: [ ... ]
})

You then need to make sure you add references to the following:

There are different ways of doing adding these. In our Github project, we use Webpack loaders to achieve this where we can (see bootstrap-loader and font-awesome-webpack). You may also just simply add the vendor CSS files to the head. You do not need the javascript for these

###Manually with angular-cli

ng new example-project
cd example-project
npm install fuel-ui font-awesome bootstrap@^4.0.0-alpha.5 --save

Go to your angular-cli.json file, and add the following to your styles array:

"../node_modules/bootstrap/dist/css/bootstrap.min.css",
"../node_modules/font-awesome/css/font-awesome.min.css",
"../node_modules/fuel-ui/bundles/fuel-ui.css"

Next, still within your angular-cli.json file, add the following to your addons array:

"../node_modules/font-awesome/fonts/*.+(otf|eot|svg|ttf|woff|woff2)"

Now build the project to copy over the necessary files

ng build

Then simply add the proper module(s) to your base component

import { FuelUiModule } from 'fuel-ui';

@NgModule({
  bootstrap: [ YourBaseComponent ],
  declarations: [ YourBaseComponent, ... ],
  imports: [ FuelUiModule, ... ],
  providers: [ ... ]
})

###Manually with SystemJs

npm install fuel-ui --save

Go to your SystemJs config file, and add the following to your map array:

"moment": "node_modules/moment/moment.js",
"fuel-ui": "node_modules/fuel-ui/bundles/fuel-ui.umd.js",

Then the proper link tags to your index.html's <head>

<head>
    <link rel="stylesheet" href="node_modules/font-awesome/css/font-awesome.min.css" />
    <link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css" />
    <link rel="stylesheet" href="node_modules/fuel-ui/bundles/fuel-ui.css" />
</head>

Then simply add the proper module(s) to your base component

import { FuelUiModule } from 'fuel-ui';

@NgModule({
  bootstrap: [ YourBaseComponent ],
  declarations: [ YourBaseComponent, ... ],
  imports: [ FuelUiModule, ... ],
  providers: [ ... ]
})

##Animations

##Components

##Directives

##Pipes

0.5.0-beta13

5 years ago

0.5.0-beta12

6 years ago

0.5.0-beta11

7 years ago

0.5.0-beta10

7 years ago

0.5.0-beta9

7 years ago

0.5.0-beta8

7 years ago

0.5.0-beta7

7 years ago

0.5.0-beta6

7 years ago

0.5.0-beta5

7 years ago

0.5.0-beta4

7 years ago

0.5.0-beta3

7 years ago

0.5.0-beta2

7 years ago

0.4.0

7 years ago

0.4.1-9

8 years ago

0.4.1-8

8 years ago

0.4.1-7

8 years ago

0.4.1-6

8 years ago

0.4.1-5

8 years ago

0.4.1-4

8 years ago

0.4.1-3

8 years ago

0.4.1-2

8 years ago

0.4.1-1

8 years ago

0.4.1-0

8 years ago

0.4.0-0

8 years ago

0.3.9

8 years ago

0.3.8

8 years ago

0.3.7

8 years ago

0.3.6

8 years ago

0.3.5

8 years ago

0.3.4

8 years ago

0.3.3

8 years ago

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.8

8 years ago

0.2.7

8 years ago

0.2.6

8 years ago

0.2.4

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.9

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.0

8 years ago

0.0.14

8 years ago

0.0.13

8 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.3

8 years ago

0.0.1

8 years ago