feat: add resizer and add zoom in / out for canvas

This commit is contained in:
2025-06-30 21:39:08 +08:00
parent 8207c37e12
commit 6cf7ef02ac
9 changed files with 1205 additions and 448 deletions

View File

@@ -6,6 +6,8 @@ import vueJsx from '@vitejs/plugin-vue-jsx'
import vueDevTools from 'vite-plugin-vue-devtools'
import tailwindcss from '@tailwindcss/postcss'
import autoprefixer from 'autoprefixer'
import Components from 'unplugin-vue-components/vite'
import RekaResolver from 'reka-ui/resolver'
// https://vite.dev/config/
export default defineConfig({
@@ -20,6 +22,18 @@ export default defineConfig({
}),
vueJsx(),
vueDevTools(),
Components(
{
dts: true,
resolvers: [
RekaResolver()
// RekaResolver({
// prefix: '' // use the prefix option to add Prefix to the imported components
// })
],
}
)
],
resolve: {
alias: {