2.0.1 • Published 7 months ago

vuelr v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Vuelr

npm license downloads

Vuelr is a component for live rendering Vue.js components and templates in the browser.

Demo | Documentation

Installation

Vuelr is available as an npm package.

npm install vuelr

Import Vuelr in your Vue entry file:

import { createApp } from 'vue';
import { createVuelr } from 'vuelr';

createApp(App).use(createVuelr()).mount('#app');

Usage

<template>
  <Vuelr :code="code" v-slot="{ target }">
    <div :id="target" />
    <textarea v-model="code" />
  </Vuelr>
</template>

<script lang="ts">
export default defineComponent({
  setup() {
    return {
      code: ref('<p>Hello world!</p>'),
    };
  },
});
</script>

License

This project is licensed under the MIT license.

2.0.1

7 months ago

1.1.0

2 years ago

1.0.8

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago