Описание изменений

This commit is contained in:
2025-02-19 20:22:29 +03:00
parent 7cb967138d
commit 6937079ec0
20 changed files with 777 additions and 3753 deletions

View File

@@ -1,22 +1,13 @@
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
import { fileURLToPath, URL } from 'node:url';
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
export default defineConfig({
plugins: [
vue({
template: {
compilerOptions: {
isCustomElement: (tag) =>
tag.startsWith('appkit-') ||
tag.startsWith('w3m-')
}
plugins: [vue({
template: {
compilerOptions: {
// Указываем Vue, что appkit-* компоненты являются кастомными элементами
isCustomElement: (tag) => tag.startsWith('appkit-')
}
})
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
}
});
})]
})