angular2-bulma
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Angular2-Bulma

Angular2-Bulma is providing Bulma CSS Framework components to Angular developers for fast and easy development.

Content

Installation and setup

npm install bulma angular2-bulma --save

Import Bulma CSS

In your main style.css file import Bulma CSS styles:

@import '~bulma';

If you want to change values for some of bulma css variables define them before @import.

$menu-item-color: #3573D6;
$menu-item-radius: 7px;
 
@import '~bulma';

Font Awesome Icons

If you want to use icons add into your index.html file.

<!-- Add fontawesome -->
  <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css" integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz" crossorigin="anonymous">

Import Angular2BulmaModule

Import Angular2BulmaModule in your app.module.ts file and add it into imports array.

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
 
import { AppComponent } from './app.component';
import { Angular2BulmaModule } from 'angular2-bulma';
 
@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    Angular2BulmaModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

This will import all of the Angular2-Bulma component modules. But you can also import any of the individual component modules. Maybe you need only Tabs for your application so you can import only BuTabsModule without any other.

Package Sidebar

Install

npm i angular2-bulma

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

1.88 MB

Total Files

344

Last publish

Collaborators

  • skadizz