@halo-dev/halo-markdown-editor

0.0.4 • Public • Published

Halo Markdown Editor

In development, not for production use

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

Installation

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

or

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

Usage

Global Registration

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

const app = createApp(/* */);

app.use(HaloMarkdownEditor);

Local Registration

<template>
  <HaloMarkdownEditor />
</template>

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

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

Vite

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

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

Readme

Keywords

none

Package Sidebar

Install

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

Weekly Downloads

0

Version

0.0.4

License

ISC

Unpacked Size

4.41 MB

Total Files

15

Last publish

Collaborators

  • guching
  • ruibaby