@worksheet-js/vue
v1.6.3
Published
Official Vue 3 component for Worksheet.js, supporting Composition API and high-performance grid rendering.
Downloads
375
Readme
@worksheet-js/vue
Industrial-grade spreadsheet UI engine for Vue 3.
Install
npm install @worksheet-js/core @worksheet-js/vue chart.jsPeer dependencies: vue ^3.0.0, chart.js >= 4.0.0.
Quick start
// main.ts
import { createApp } from 'vue';
import { initializeLicense } from '@worksheet-js/core';
import App from './App.vue';
initializeLicense('YOUR-LICENSE-KEY');
createApp(App).mount('#app');<template>
<div style="height: 100vh">
<Worksheet :options="options" />
</div>
</template>
<script setup lang="ts">
import { Worksheet } from '@worksheet-js/vue';
const options = {
worksheets: [{ worksheetName: 'Sheet1' }],
toolbar: true,
};
</script>Nuxt / SSR guide, event listeners, template workflows, and full API on worksheetjs.com.
License
MIT. The underlying @worksheet-js/core is proprietary — email [email protected] for a key.
