Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phanan/vue-snippets
✂️A collection of Vue snippets
https://github.com/phanan/vue-snippets
snippets vue vuejs
Last synced: 17 days ago
JSON representation
✂️A collection of Vue snippets
- Host: GitHub
- URL: https://github.com/phanan/vue-snippets
- Owner: phanan
- Created: 2018-08-11T17:05:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T21:46:22.000Z (almost 2 years ago)
- Last Synced: 2024-10-14T10:46:09.932Z (about 1 month ago)
- Topics: snippets, vue, vuejs
- Language: CSS
- Homepage: https://www.vuesnippets.com
- Size: 304 KB
- Stars: 83
- Watchers: 4
- Forks: 7
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Vue Snippets
A collection of Vue.js snippets -- little trips, tricks, useful directives, some nice practices, you name it.
The [website](https://www.vuesnippets.com) is powered by [Hugo](https://gohugo.io/).
## 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:
````yaml
---
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: [email protected]
homepage: https://domain.tld
twitter: twitter_handle_without_@
github: github_handle
---```html
```
````
4. 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`.
5. Once you're happy with how it looks, commit the file and create a PR 🎉