Just because you use AngularJS and not Angular like all the cool kids, doesn't mean you can't look good!
Enjoy the robust styling architecture of the new Bootstrap 4, while still using good ol' AngularJS.
See it in action at https://idanco.github.io/ng1bs4/.
- Still used to Bootstrap 3.x? Use UI Bootstrap
- Finally upgraded to Angular? Use NG Bootstrap
- None of the above? You belong with us!
Install bootstrap 4 and import it's JS and styling into your project.
Install ng1bs4
npm install ng1bs4 --save
Import ng1bs4
module and styling into your project
import ng1bs4 from 'ng1bs4';
import 'ng1bs4/dist/import.css'
Inject ng1bs4
module into your app
angular
.module('myApp', [
...,
ng1bs4
]);
Test by adding this directive anywhere in your markup
<ngbs-test></ngbs-test>
for more details checkout a sample project with angularJS, bootstrap4 and ng1bs4.
No Styling. We believe you should be able to customize as much as you want, and with Bootstrap 4 theming is easy! That's why all components include minimal styling and rely heavily on Bootstrap's native classes and variables.
Simple Code. We strive to keep all components as simple yet robust as possible. Hence, rewiring them to fit your needs should be easy peasy.
Development is easy and fun! Just follow these simple steps to get started:
- Have at least Node.js 6.x installed
- Fork the main repository
- Git clone the forked repository
- Run the following commands
npm i
npm run serve
- Open http://localhost:8080 in a browser
- Start making amazing changes!
Create new components easily with our generator:
npm run new
And follow the on-screen instructions. Created a cool component? Make a pull request and contribute it back.
§!@#$%^ HELP NEEDED! ^%$#@!§
We're a new open source project, trying to make our way in this crazy javascript world. There's tons of work to be done and any effort will be appreciated.
You can help by:
- Staring, sharing, forking, and most of all: using
- Documentation (create a pull request)
- Building new components (create a pull request)
- Improving existing components (create a pull request)
- Coming up with ideas for new components or new features (open an issue)
- Testing - unit, integration, and pregnancy (create a pull request)
- Setting up coding standards and linting (create a pull request)
- Stack, build, deploy and all that jazz
Any questions? open an issue or join us on gitter - https://gitter.im/ng1bs4