4.1.1 • Published 8 months ago

@bbob/vue3 v4.1.1

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

@bbob/vue3

install size Known Vulnerabilities

Converts @bbob/parser AST tree to Vue 3

npm i @bbob/vue3 @bbob/preset-vue
import { defineComponent } from 'vue'
import VueBbob from '@bbob/vue3';

Vue.use(VueBbob);
<template>
  <div class="vue3">
    <h2>Generated vue3 here</h2>
    <bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode>
  </div>
</template>
<script>
  import Vue from 'vue'
  import preset from '@bbob/preset-vue'
  
  export default defineComponent({
    name: 'App',
    data() {
      return {
        bbcode: 'Text [b]bolded[/b] and [i]Some Name[/i]',
        plugins: [
          preset()
        ],
      }
    }
  })
</script>
0.0.0-alpha.9a24203

11 months ago

0.0.0-alpha.626820c

11 months ago

0.0.0-alpha.4a7856d

12 months ago

0.0.0-alpha.913cf38

11 months ago

4.1.0

10 months ago

4.0.1

12 months ago

4.0.0

12 months ago

4.0.3

11 months ago

4.1.1

10 months ago

4.0.2

11 months ago

0.0.0-alpha.9f6dc1f

12 months ago

0.0.0-alpha.a733494

12 months ago

0.0.0-alpha.8b57a48

12 months ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago