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 🙏

© 2026 – Pkg Stats / Ryan Hefner

vue-cli-plugin-kroot

v0.1.2

Published

The Kroot. scaffolding plugin

Downloads

10

Readme

Vue CLI Kroot scaffolding plugin

How to use this plugin

It is recommended that you start from a clean Vue CLI project.
The following step-by-step instruction list will start with creating such a project, and how to install this plugin into this project.

  1. vue create <project name> (select any preset you want, be sure to include a SASS-preprocessor for now, see issue #4)
  2. cd <project name>
  3. vue add kroot

Now, your project will have a new folder styles in the src directory, containing a few .scss files.
The files will be auto-imported in main.js (by importing global.scss).
All variable files (colors, breakpoints and animations) are also included in every <style lang="scss"></style> block, so you can use those right away, as well.

Grid system

The grid system included is very simplistic. The definition of this system can be found in layout.scss.

For containers, use the class .container. The maximum width of this container can also be defined in layout.scss.

For the grid, we have two main classes: .grid and .col.
To use the grid, you must at least define a div with class .grid. Inside this div, you can include .cols.

.col classes have the following modifiers:

  • .col--fill is used to fill the rest of the grid; it's a column that can be 100% wide or 0%.
  • .col--xof12 where x is the column span value. For instance, .col--6of12 will fill 50% of its parents' width.

Example: a three-column layout

<div class="container grid">
  <div class="col col--4of12">Col 1 (33%)<div>
  <div class="col col--4of12">Col 2 (33%)<div>
  <div class="col col--4of12">Col 3 (33%)<div>
</div>

Example: a three-column layout with one column of undefined width

<div class="container grid">
  <div class="col col--2of12">Col 1 (~17%)<div>
  <div class="col col--2of12">Col 2 (~17%)<div>
  <div class="col col--fill">Col 3 (~66%)<div>
</div>