vite-plugin-spire.officejs-brook
v1.0.14
Published
The Vite plugin is one of the plug-ins for Spire.OfficeJS to work
Maintainers
Readme
vite-plugin-spire.officejs
The Vite plugin is one of the plug-ins for Spire.OfficeJS to work
Installation
npm install vite-plugin-spire.officejsThe instructions for the usage:
// vite.config.js
import vue from '@vitejs/plugin-vue'
import { defineConfig } from 'vite'
import officejsPlugin from 'vite-plugin-spire.officejs'
//define Config
export default defineConfig({
plugins: [
vue(),
officejsPlugin()
],
})
export default defineConfig({
plugins: [
vue(),
officejsPlugin({
name: 'vite-plugin-spire.officejs',
port: 7000,
coAuthor: false
})
],
})Key Parameters
| Properties | Explanation | Type | Default |
| ---------- | ------------------------------ | --------- | ------------------------------ |
| port | server port | number | 7000 |
| name | server name | string | 'vite-plugin-spire.officejs' |
| coAuthor | Enable the co-authoring server | boolean | false |
