Tiny component to render Vue.js vNodes in the template.
"><v :nodes="vnodes" />
250 B
minzipped!npm i vue-v
<template> <div> <v :nodes="$slot.default" /> div> template> <script> import V from 'vue-v'; export default { components: { V } }; script>
When you have vNodes that you want to render in a specific part of your template without having to use a render function.
For example, you might want to render just the text from the default
:
<template> <div> <v :nodes="textNodes()" /> div> template> <script> import V from 'vue-v'; export default { components: { V }, methods: { // Can't use computed property because slots aren't reactive textNodes() { return (this.$slots.default || []).filter(vnode => !vnode.tag); } } }; script>
You can use vNode Syringe to overwrite attributes, props, and event-listeners.
For example, if you want to overwrite the class, and add a click
handler:
<template> <div> <vnode-syringe class!="overwrite-class" @click="onClick" > <v :nodes="vnodes" /> vnode-syringe> div> template> <script> import V from 'vue-v'; import vnodeSyringe from 'vue-vnode-syringe'; export default { components: { V, vnodeSyringe }, ..., methods: { onClick() { ... } } }; script>
Vue Ripple Vue Component to Make Google Material Design Ripple Effect. It's adopted from angular-ripple DEMO Install You can import vue-ripple to your
vue-advanced-chat Vue 3 compatibility 🚀 Features Vue, Angular & React compatibility Customizeable realtime chat messaging Backend agnostic Images, vi
Vue 3 + Vite - How to use vue Teleport component
Vue Cookies Consent Nice and clean component to display message about cookies in Vue and Nuxt.js 🎬 Demo 📦 Installation NPM npm install --save @norvi
vue-slot-portal Vue plugin for across-component slot distribution. install npm i vue-slot-portal usage define slot routes (key: slotName, value: compo
vue-avatar An avatar component for vue.js. This component display an avatar image and if none is provided fallback to the user initials. This componen
Vue component that simulates a user typing, selecting, and erasing text. Play with vue-typer in this interactive demo. Getting Started Usage Props tex
Vue Flashcard ⚡ This is on GitHub so let me know if I've b0rked it somewhere, give me a star ⭐ if you like it ✅ Install 👌 npm i vue-flashcard ✅ Usage
vue-letter-avatar Introduction An elegant and easy to use letter avatar component for vue.js 2.0+ Install $ yarn add vue-letter-avatar or $ npm instal
Portals provide a first-class way to render children into a DOM node that exists outside the DOM hierarchy of the parent component.
Homemade Codepen This project is based on Codepen, and use vuejs to render a live view html/js/css of your code. Features Live preview of your code Ed
This is inspired by headwayapp.co but as a single script you can add to an HTML file. Install yarn add loglive Table of Contents Usage Changel
Jogo da Memoria vue App A tiny game written in vue3. It's inspired by IgorMinar's Memory-Game. You can view the online demo here. Components Tree Comp
1️⃣ vue-bind-once A tiny, SSR-safe directive for binding random data to an element. A tiny, SSR-safe directive for binding random data to an element.
Vue Modern Resume is basically a simple (yet easy to setup) resume template based on Vue.js framework and Vuetify UI toolkit.
Run # install dependencies $ npm install # serve with hot reload at localhost:3000 $ npm run dev # build for production and launch server $ npm run
A progressive Node.js framework for building efficient and scalable server-side
Developer's directory where you will find lots of freemium resources like icons, template ui, illustration, App idea, etc. Feel free to browse around.
Rain of Change A free Changelog template created with Nuxt 3.0 & Nuxt Content 2.0 that you can use for your projects. We are very pleased to share our