webledger-vue3-common
webledger-vue3-common
Common components which are used on vue3 projects
Installation
npm i webledger-vue3-common@latest
Publish package
npm publish
Usage
Load webledger-vue3-common and style in main.js/main.ts file
import { createApp } from "vue";
import App from "./App.vue";
import WLCommonComponent from 'webledger-vue3-common';
import "webledger-vue3-common/dist/style.css";
const app = createApp(App)
app.use(WLCommonComponent);
app.mount("#app");
Editor component
<script>
import { Editor } from "webledger-vue3-common";
const data = ref("")
</script>
<template>
<Editor v-model="data" />
</template>
If you want add mention option,
<script>
import { Editor } from "webledger-vue3-common";
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 "webledger-vue3-common";
const data = ref("")
</script>
<template>
<Editor v-model="data" :toolbarToggle="true"/>
</template>
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.3.58 | ^3.5.10 | MIT | |
| 0.3.57 | ^3.5.10 | MIT | |
| 0.3.56 | ^3.5.10 | MIT | |
| 0.3.55 | ^3.5.10 | MIT | |
| 0.3.54 | ^3.5.10 | MIT | |
| 0.3.53 | ^3.5.10 | MIT | |
| 0.3.52 | ^3.5.10 | MIT | |
| 0.3.51 | ^3.5.10 | MIT | |
| 0.3.50 | ^3.5.10 | MIT | |
| 0.3.49 | ^3.5.10 | MIT | |
| 0.3.45 | ^3.5.10 | MIT | |
| 0.3.44 | ^3.5.10 | MIT | |
| 0.3.43 | ^3.5.10 | MIT | |
| 0.3.42 | ^3.5.10 | MIT | |
| 0.3.41 | ^3.5.10 | MIT | |
| 0.3.40 | ^3.5.10 | MIT | |
| 0.3.39 | ^3.5.10 | MIT | |
| 0.3.38 | ^3.5.10 | MIT | |
| 0.3.37 | ^3.5.10 | MIT | |
| 0.3.36 | ^3.5.10 | MIT | |
| 0.3.35 | ^3.5.10 | MIT | |
| 0.3.34 | ^3.5.10 | MIT | |
| 0.3.33 | ^3.5.10 | MIT | |
| 0.3.32 | ^3.5.10 | MIT | |
| 0.3.31 | ^3.5.10 | MIT | |
| 0.3.30 | ^3.5.10 | MIT | |
| 0.3.29 | ^3.5.10 | MIT | |
| 0.3.28 | ^3.5.10 | MIT | |
| 0.3.27 | ^3.5.10 | MIT | |
| 0.3.26 | ^3.5.10 | MIT |
Showing the latest 30 of 57. See every release on npm