jp-common-component

Common commponet which are used on vue3 projects
865
Install
npm install jp-common-component
Latest Version:0.1.41
Vue:3
Last Updated:Oct 3, 2024
Links: npm
Maintainer: jigarf504

JP-Common-Component

Common commponet which are used on vue3 projects

Installation

npm install jp-common-component@latest

Usage

Load jp-common-commponent and style in main.js/main.ts file

import { createApp } from "vue";
import App from "./App.vue";
import JpCommonComponent from 'jp-common-component';
import "jp-common-component/dist/style.css";

const app = createApp(App)
app.use(JpCommonComponent);
app.mount("#app");

Editor component

<script>
import { Editor } from "jp-common-component";
const data = ref("")
</script>
<template>
 <Editor v-model="data" />
</template>

If you want add mention option,

<script>
import { Editor } from "jp-common-component";
const data = ref("")
const items = [ '@Barney', '@Lily', '@Marry Ann', '@Marshall', '@Robin', '@Ted' ];
</script>
<template>
 <Editor v-model="data" :mentions="items" />
</template>

If you want hide toolbar,

<script>
import { Editor } from "jp-common-component";
const data = ref("")
</script>
<template>
 <Editor v-model="data" :toolbarToggle="true"/>
</template>

Related Packages

seeroad-libs

A collection of utility classes

1,068
@orderprotection/vue

Order Protection components implemented in Vue

25,773
@publishvue/vue3complib

Vue 3 component library.

12,924 0
supre-ui

A UI library for Vue2 applications

10,417

Version History

Version Released Vue License
0.1.41 ^3.5.10
0.1.39 ^3.5.10
0.1.38 ^3.5.10
0.1.37 ^3.4.37
0.1.35 ^3.4.37