npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

bootue-blue

v0.2.8

Published

Bootstrap + Vue 2 = 100% Components

Downloads

1

Readme

Code Climate Build Status Issue Count david-dm.org Codacy Badge

Bootue - Boostrap 3 + Vue = 100% Self Contained Components

  • 100% Bootstrap components built with Vue 2.
  • No boostrap.css, bootstrap.js, jQuery, or any 3rd party plugins required.
  • Really, its full Stand Lone library.

About

The goal of project is provide a easy way to organize, customize, and incorporate all elements of your's project. For this we organize all elements into self contained components, splitting all variables and codes put into each folder, each component have yours variables, events, styles and more. Bootue its group of elements components self contained, organized, with multiple featured to incorporate and using in any SPA project.

Bootue make simple way to extends and modify boostrap variables, effects and featured, her provide a possibility to you using party of outhers frameworks together with boostrap components, create a new one or using only elements that you need.

  • Vue-Cli - (browserify or webpack)
  • Node - Sass (vue-loader-sass)
  • Setup webpack to make url-loader for fonts (font-awesome)

** EDIT: After some feedbacks, we decide to use bootue only for Maestro Server, in outhers words, all support and new features will be create if ought to be a necessity in Maestro Servers goals **

Let's started

First all bootue is build using vue-cli system, you need to install and setup a vueify (browserify) or vue-loader(webpack) env, Install Vue Cli, you maybe use webpack or browserfy.

$ npm install -g vue-cli
$ vue init webpack-simple demo // bootue works with webpack or browserify
$ vue init browserify demo

Webpack env Make sure to install sass pre-compiled environment (in all cli installation he ask you if you like to setup sass (default is NO), write YES, and be happy)

Build Setup

$ npm install bootue

import Bootue from 'bootue'

Vue.use(Bootue) // import all components

or

import alert from 'bootue/src/alert'

Vue.component('alert', alert)

// or

new Vue({
  components: {
    alert
  }
})

or

$ npm install bootue

var alert = require('bootue/src/alert');
var alert = require('bootue/src').alert;

new Vue({
  components: {
    alert: alert
  }
})


// After babel 6, yoou need iteract with default property.
var alert = require('bootue/src/alert').default;

Webpack Env - Font Awesome

Some components using font-awesome icons (font-awesome is optional), if you like to use this font, you have to setup webpack to correctly load.

If you using easy installation (Vue.use), you need to configure url-loader in webpack. (Because webpack will try to use load font files)

WebPack 2.X

$ npm install url-loader

{
  module:
  {
    test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/,
    loader: 'url-loader', // you need to install this loader
    query: {
      limit: 10000,
      name: 'fonts/[name].[ext]'
    }
  }
}

WebPack 1.X

module: {
  loaders: [
    {
      test: /\.woff2?(\?v=[0-9]\.[0-9]\.[0-9])?$/,
      // Limiting the size of the woff fonts breaks font-awesome ONLY for the extract text plugin
      // loader: "url?limit=10000"
      loader: "url"
    },
    {
      test: /\.(ttf|eot|svg)(\?[\s\S]+)?$/,
      loader: 'file'
    },
  ]
},

Import bootue system into your project

If you prefer, maybe to import all components files and import inside to project, remember the goal is transfer all power to select, customize and extends to any scss parts to project. In deep, bootue is a reorganized boostrap splitting code, her have SCSS Components, Js Components and Hybrid Components.

//strutucture folder to generic vue 2 project
- vuex
- components
  - pages
    - home
    - contact
  - bootue
    - _core
      - typography // all scss components need to be inside _code folder
      - utilities
    - grids
    - index.js // use to make import components easy

We import bootue components aside page's project, the ideia its full integration scss rules into project.

Why should I care about this structure? Why not use NPM?

When I began bootue, my problem is, I have a very custom layouts in any SPA project, but all the elements in its excence its the same. i would like exist a central repository with self contanied elements, dont bother me with import scss bases, navigate and change 1000 lines in variables.scss, i like to get and put that element and works.

With that mind, the project intent to, split and organized all business logic's of bootstrap, possibility to choose and modify exacly parts i want, possibility to export the module for other projects using a top contained delivery, and possibility to using 100% component tree system modules

And updates? Come on, you execute a update your bootstrap frequently? Boostrap 3 update frequently? The risk exist, bootue needs to bug fix, him will update, for this situation you need to copy and paste parcially, yes its not a best situation, but in moment its acceptable.

Docs

See the documentation with live editable examples.

Develop Local Setup

$ npm install

$ npm run dev

// default portr is 8080

License

Bootue is licensed under The MIT License.

Autor

| @signorini | | :---: |