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

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,26 +1,6 @@
import { createApp } from 'vue';
import App from './App.vue';
import { createAppKit } from '@reown/appkit/vue';
import { EthersAdapter } from '@reown/appkit-adapter-ethers';
import { sepolia } from '@reown/appkit/networks';
import config from './config'; // Импортируем конфигурацию
import { createApp } from 'vue'
import App from './App.vue'
const appKit = createAppKit({
adapters: [new EthersAdapter()],
projectId: config.ethereum.projectId,
networks: [sepolia],
defaultNetwork: sepolia,
metadata: config.metadata,
features: {
analytics: true
},
themeMode: 'light', // Добавляем светлую тему
themeVariables: {
'--w3m-color-mix': '#00BB7F',
'--w3m-color-mix-strength': 40
}
});
const app = createApp(App);
app.use(appKit); // Подключаем AppKit как плагин
app.mount('#app');
// Создаем и монтируем приложение Vue
const app = createApp(App)
app.mount('#app')