Skip to content

VasiliyRusin/v-with

Repository files navigation

@vasiliyrusin/v-with

Install

npm i @vasiliyrusin/v-with

Import

Global import

import Vue from "vue";
import VWith from "@vasiliyrusin/v-with";

Vue.use(VWith);

Local import

import { VWith } from "@vasiliyrusin/v-with";

export default {
  name: "ComponentName",
  components: { VWith }
}

Example

<template>
    <VWith :variables="{ world: 'world' }">
        <template #default="{ world }">
            Hello, {{ world }}!
        </template>
    </VWith>
</template>

<script>
    import { VWith } from "@vasiliyrusin/v-with";
    
    export default {
        name: "ExampleComponent",
        components: { VWith }
    }
</script>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published