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 🙏

© 2025 – Pkg Stats / Ryan Hefner

zoro-kit-vue

v0.1.184

Published

## TODO

Downloads

121

Readme

zoro-kit-vue

TODO

  • guide/transitions
  • guide/comparison
  • http://www.w3.org/wiki/WebComponents/
  • https://github.com/w3c/webcomponents/blob/gh-pages/proposals/Slots-Proposal.md and is attribute
  • MVVM https://en.wikipedia.org/wiki/Model_View_ViewModel
  • use functional components to reuse template pieces
  • XSS https://en.wikipedia.org/wiki/Cross-site_scripting
  • SPA https://en.wikipedia.org/wiki/Single-page_application
  • shorthand, v-bind:attribute -> :attribute, v-on:click -> @click
  • declarative imperative
  • event modifiers: stop, prevent, capture, self
  • key modifiers
  • special tags like , and

component

  • http://www.w3.org/TR/custom-elements/#concepts

registration

  • To register a global component, you can use Vue.component(tagName, options).
  • You don’t have to register every component globally. You can make a component available only in the scope of another instance/component by registering it with the components instance option.
  • The same encapsulation applies for other registerable Vue features, such as directives.
  • option data and el must be functions.

template

  • inline template string
  • .vue
  • HTML template
    • In case of a custom element you should use the is special attribute
    • In case of a inside of a you should use

props

  • A child component needs to explicitly declare the props it expects to receive using the props option

  • when you pass children without a slot attribute into a component, those children are stored on the component instance at $slots.default. key, ref, slot

  • http://vue-loader.vuejs.org/en/start/spec.html

  • https://github.com/w3c/webcomponents/blob/gh-pages/proposals/Slots-Proposal.md

  • components must contain exactly one root node (render-function)

  • http://vue-loader.vuejs.org/en/features/hot-reload.html

  • http://webpack.github.io/docs/code-splitting.html

  • https://webpack.github.io/docs/webpack-dev-server.html

  • http://vue-loader.vuejs.org/en/configurations/asset-url.html

lint

  • http://vue-loader.vuejs.org/en/workflow/linting.html

  • https://github.com/hedefalk/atom-vue/issues/16#issuecomment-177169198

  • https://github.com/BenoitZugmeyer/eslint-plugin-html

  • 装了 eslint-plugin-html 之后 eslint-loader 就可以正常工作了

  • atom 里面设置 lint HTML files

  • vue-validator https://github.com/vuejs/vue-validator

  • babel-plugin-transform-vue-jsx https://github.com/vuejs/babel-plugin-transform-vue-jsx

vuex-router-sync

// Do not sync https://github.com/vuejs/vuex/issues/285 // import {sync} from 'vuex-router-sync' // sync(store, router)