GithubHelp home page GithubHelp logo

clemensmeier / aurelia-bs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ricosuter/aurelia-bs

0.0 1.0 0.0 1.04 MB

Bootstrap UI (CSS framework) components for Aurelia JS.

License: MIT License

TypeScript 70.71% HTML 23.29% JavaScript 4.85% CSS 1.15%

aurelia-bs's Introduction

aurelia-bs: Bootstrap UI components for Aurelia JS

npm

This project is currently in development. It is not recommended to use it in production until version 1.x is released.

This project provides Bootstrap UI v3 (CSS framework) components for Aurelia JS.

Installation

  1. Create Aurelia project (webpack based, here sample with ASP.NET Core):
dotnet new --install "Microsoft.AspNetCore.SpaTemplates::*"
dotnet new aurelia
  1. Install required NPM packages:
npm install aurelia-bs --save
npm install aurelia-validation --save
  1. Register both plugins in boot.ts:
import { Aurelia, PLATFORM } from 'aurelia-framework';

...

export function configure(aurelia: Aurelia) {
  aurelia.use
    .standardConfiguration()
    .plugin(PLATFORM.moduleName('aurelia-validation'))
    .plugin(PLATFORM.moduleName('aurelia-bs'));
  1. Use bs-aurelia components and start application
dotnet run

Usage

Components

Development

How to add a component

  • Implement component
  • Register component in "main.ts" as globalResources()
  • Add component name to package.json in the path "aurelia.build.resources"
  • Export view model class from "index.ts"

aurelia-bs's People

Contributors

ricosuter avatar clemensmeier avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.