@skirtle/vue-vnode-utils

Utilities for manipulating Vue 3 VNodes
85,921 36
Install
npm install @skirtle/vue-vnode-utils
Latest Version:0.3.0
Vue:3
License:MIT
Last Updated:May 30, 2026
Links: GitHub  ·  npm
Maintainer: skirtle

@skirtle/vue-vnode-utils

Utilities for manipulating Vue 3 VNodes.

Installation

npm

Installation with npm/yarn/pnpm:

npm add @skirtle/vue-vnode-utils

ES module usage:

import { addProps } from '@skirtle/vue-vnode-utils'

CDN - global build

<script src="https://unpkg.com/@skirtle/vue-vnode-utils/dist/vue-vnode-utils.global.dev.js"></script>

This should be placed after the <script> tag for Vue itself, as it needs the global Vue to be available.

The functions are then exposed via the global VueVNodeUtils:

const { addProps } = VueVNodeUtils

The URL above will include the development build, which is not minified and includes some warning messages. In production the exact version should be pinned and .prod should be used instead of .dev.

CDN - ES module build

@skirtle/vue-vnode-utils imports from vue, so it needs an import map to be configured to use ES modules directly in the browser.

<script type="importmap">
{
  "imports": {
    "vue": "https://unpkg.com/vue@3/dist/vue.esm-browser.js",
    "@skirtle/vue-vnode-utils": "https://unpkg.com/@skirtle/vue-vnode-utils/dist/vue-vnode-utils.esm-browser.dev.js"
  }
}
</script>
<script type="module">
import { addProps } from '@skirtle/vue-vnode-utils'
// ...
</script>

As with the global build, this should be changed to an exact version and switched to .prod in production.

Some browsers do not yet have full support for import maps.

License

MIT

Copyright © 2022-2026, skirtle

Related Packages

vue-v

Render Vue vNodes from the template

4,373 7
storybook-vue-slots

Vue Slots support for Storybook

26,123
vue-subslot

💍 Pick 'n choose what you want from a slot passed into your Vue component

2,317 12
vue-global-config

Configure your Vue 2/3 components globally.

71,361 8
epage-iview

epage render package based on iview component library

1,185 24

Version History

Version Released License
0.3.0 MIT
0.2.0 MIT
0.1.4 MIT
0.1.3 MIT
0.1.2 MIT