vite-plugin-spire.officejs
v10.11.4
Published
The Vite plugin is one of the plug-ins for Spire.OfficeJS to work
Downloads
253
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
})
],
})Key Parameters
| Properties | Explanation | Type | Default |
| -------- | ----------- | --------------- | ------------------------------ |
| port | server port | number | 7000 |
| name | server name | string | 'vite-plugin-spire.officejs' |
