feat: Create examples directory and add some examples

* Add svg plugins for vite & rollup
update: more bundle stuff
This commit is contained in:
Braks
2021-07-10 23:51:04 +02:00
parent 4d52af09fa
commit e4f57c79e8
31 changed files with 1043 additions and 1273 deletions
+3 -1
View File
@@ -1,6 +1,7 @@
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
import vueJsx from '@vitejs/plugin-vue-jsx';
import svgLoader from 'vite-svg-loader';
// https://vitejs.dev/config/
export default defineConfig({
@@ -11,6 +12,7 @@ export default defineConfig({
vue(),
vueJsx({
// options are passed on to @vue/babel-plugin-jsx
})
}),
svgLoader()
]
});