4.1.1 • Published 8 months ago

@bbob/vue2 v4.1.1

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

@bbob/vue2

install size Known Vulnerabilities

Converts @bbob/parser AST tree to Vue 2

npm i @bbob/vue2 @bbob/preset-vue
import Vue from 'vue'
import VueBbob from '@bbob/vue2';

Vue.use(VueBbob);
<template>
  <div class="vue2">
    <h2>Generated vue2 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 Vue.extend({
    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.0

2 years ago

2.9.0

2 years ago

2.8.3

2 years ago

2.8.2

3 years ago

2.8.1

3 years ago

2.8.0

4 years ago

2.7.1

4 years ago

2.7.0

4 years ago