vite-plugin-vue-googleappsscript
v0.1.3
Published
Vite plugin for Vue on GoogleAppsScript via @google/clasp
Downloads
3
Maintainers
Readme
vite-plugin-vue-googleappsscript
Vite plugin for Vue on GoogleAppsScript via @google/clasp.
Installation
You'll first need to install packages like this:
$ npm i vite vite-plugin-singlefile @google/clasp vue @types/google-apps-script @vitejs/plugin-vue --save-dev
Next, install vite-plugin-vue-googleappsscript
:
$ npm install vite-plugin-vue-googleappsscript --save-dev
Usage
import vue from '@vitejs/plugin-vue';
import { defineConfig } from 'vite';
import { viteSingleFile } from 'vite-plugin-singlefile';
import { vueOnGas } from 'vite-plugin-vue-googleappsscript';
export default defineConfig({
plugins: [vue(), viteSingleFile(), vueOnGas()],
build: {
outDir: 'dist',
},
});