@halo-dev/halo-richtext-editor

0.0.3 • Public • Published

Halo Richtext Editor

In development, not for production use

demo: https://halo-richtext-editor.netlify.app

Installation

npm install @halo-dev/halo-richtext-editor

or

yarn add @halo-dev/halo-richtext-editor

Usage

Global Registration

import { createApp } from "vue";
import HaloRichtextEditor from "@halo-dev/halo-richtext-editor";
import "@halo-dev/halo-richtext-editor/dist/lib/style.css";

const app = createApp(/* */);

app.use(HaloRichtextEditor);

Local Registration

<template>
  <HaloRichtextEditor />
</template>

<script>
import { defineComponent } from "vue";
import { HaloRichtextEditor } from "@halo-dev/halo-richtext-editor";
import "@halo-dev/halo-richtext-editor/dist/lib/style.css";

export default defineComponent({
  components: {
    HaloRichtextEditor,
  },
  setup() {
    return {};
  },
});
</script>

Vite

https://github.com/vitejs/vite/issues/2249

export default defineConfig({
  plugins: [vue()],
  resolve: { dedupe: ["vue"] },
});

/@halo-dev/halo-richtext-editor/

    Package Sidebar

    Install

    npm i @halo-dev/halo-richtext-editor

    Weekly Downloads

    0

    Version

    0.0.3

    License

    ISC

    Unpacked Size

    7.95 MB

    Total Files

    16

    Last publish

    Collaborators

    • guching
    • ruibaby