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

@phoenix-plugin-registry/vue-snippets

v1.0.1

Published

A collection of Vue snippets for Brackets.

Downloads

3

Readme

Vue Snippets

Description

A collection of VUE snippets for Brackets editor.

Installation

Git Clone

  1. Under main menu select Help > Show Extensions Folder
  2. Git clone this repository inside the folder user.

Extension Manager

  1. Under main menu select File > Extension Manager...
  2. Search for "Vue snippets"
  3. Click "Install"

How to use

  1. Enable Vue Snippets Under main menu select Edit > Enable Vue Snippets or open the Preferences File and add "vue-snippets.enabled": true.
  2. Enter a snippet and hit the Space key.

Snippets

Vue

| Snippet | Purpose | | ------- | -------------------------- | | vbase | Single file component base |

Template

| Snippet | Purpose | | ----------------- | ----------------------------------- | | vfor | v-for directive | | vmodel | Semantic v-model directive | | vmodelNum | Semantic v-model number directive | | von | v-on click handler with arguments | | velProps | Component element with props | | vsrc | Image src binding | | vstyle | Inline style binding | | vstyleObj | Inline style binding with objects | | vclass | Class binding | | vclassObj | Class binding with objects | | vclassObjMult | Multiple conditional class bindings | | vanim | Transition component with JS hooks | | vnuxtl | Nuxt Routing Link |

Script

| Snippet | Purpose | | ---------------- | ------------------------------------------------------------------------ | | vdata | Component data as a function | | vmethod | Vue method | | vcomputed | Vue computed property | | vwatcher | Vue watcher with new and old value args | | vprops | Props with type and default | | vimport | Import one component into another | | vcomponents | Import one component into another within the export statement | | vimportExport | Import one component into another and use it within the export statement | | vfilter | Vue filter | | vmixin | Create a Vue Mixin | | vmixinUse | Bring a mixin into a component to use | | vcDirect | Vue create a custom directive | | vimportLib | Import a library | | vimportGsap | Import GreenSock with Timeline and Eases | | vanimhookJS | Using the Transition component JS hooks in methods | | vcommit | Commit to Vuex store in methods for mutation | | vdispatch | Dispatch to Vuex store in methods for action | | vtest | A simple unit testing component | | vinc | incrementer | | vdec | decrementer |

Vuex

| Snippet | Purpose | | --------------- | ------------------------------ | | vstore | Base for Vuex store.js | | vgetter | Vuex Getter | | vmutation | Vuex Mutation | | vaction | Vuex Action | | vstoreImport | Import vuex store into main.js |

Nuxt Config

| Snippet | Purpose | | ------- | ------------------------------------------------------- | | nfont | link to include fonts in a nuxt project, in nuxt-config | | ncss | link to css assets such as normalize |

Credits


  • vue-vscode-snippets - Sarah Drasner - https://github.com/sdras/vue-vscode-snippets
  • brackets-jade-snippets - George Raptis - https://github.com/georapbox/brackets-jade-snippets

Thank you all!!!