Skip to content
✂️A collection of Vue snippets
Branch: master
Clone or download
Latest commit 12599f8 May 23, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Create FUNDING.yml May 23, 2019
archetypes 🎉 Aug 11, 2018
content/posts Fix the comment Aug 31, 2018
data 🎉 Aug 11, 2018
layouts 🎉 Aug 11, 2018
resources/_gen/assets Remove search box box shadow Aug 31, 2018
static Add login into readme Aug 12, 2018
themes/vuesnippets Remove search box box shadow Aug 31, 2018
.editorconfig 🎉 Aug 11, 2018
.gitignore Add Algolia config Aug 13, 2018
README.md Snippet, not tip Aug 13, 2018
config.toml Add Algolia config Aug 13, 2018
netlify.toml Add Algolia config Aug 13, 2018
package.json Add Algolia config Aug 13, 2018
yarn.lock Add Algolia config Aug 13, 2018

README.md

Vue Snippets

logo

A collection of Vue.js snippets -- little trips, tricks, useful directives, some nice practices, you name it.

The website is powered by Hugo.

Contribute

So you have a trick or two up your sleeve and want to share them with the world? Great! You're only a couple of steps away:

  1. Make sure you have Hugo >= 0.46 installed. If you're on a Mac, just do a brew install hugo and you're good to go.
  2. Fork this repo (duh!)
  3. Execute hugo new posts/your-awesome-snippet.md in your terminal. A content/posts/your-awesome-snippet.md file will be created with some placeholder content, like this:
---
title: "Your Awesome Snippet"
date: 2018-08-11T19:58:07+02:00
description: A short description for the snippet.
tags: [max, three, tags]
author:
  name: Your Name
  email: your@email.tld
  homepage: https://domain.tld
  twitter: twitter_handle_without_@
  github: github_handle
---

```html
<template>
</template>

<script>
</script>

<style lang="scss" scoped>
</style>
```
  1. Update the file with your snippet (and some of your details). You don't need to fill in everything -- only title, date, description, your name, and the snippet itself, are really required. The snippet can be previewed with hugo server.
  2. Once you're happy with how it looks, commit the file and create a PR 🎉
You can’t perform that action at this time.