Further cleanup and fixing Wallet and GoogleAuth to the new Composer interface

This commit is contained in:
Samuel Andert
2023-08-07 18:57:19 +02:00
parent beeb298c35
commit 1ad46b3252
18 changed files with 51 additions and 58 deletions

View File

@ -0,0 +1,10 @@
import componentNames from 'virtual:components-list';
const components = {};
componentNames.forEach(path => {
const name = path.split('/').pop(); // Extract just the file name from the path
components[name] = () => import( /* @vite-ignore */ `/src/lib/components/${path}.svelte`);
});
export default components;