Skip to content

@bbob/vue3@3.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 24 Jul 14:32
· 57 commits to master since this release
d642317

Major Changes

  • #182 49065d2 Thanks @JiLiZART! - # Vue3 support

    Now you can use @bbob parser in vue3

    Example usage

    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 { defineComponent } 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>

Patch Changes

  • Updated dependencies [49065d2]:
    • @bbob/core@3.0.0
    • @bbob/html@3.0.0
    • @bbob/plugin-helper@3.0.0