Added assets, started actual work on making this a proper multi file webapp. gonna continue tonight

This commit is contained in:
Jannis Heydemann
2026-04-30 12:30:54 +02:00
parent 23d5a75891
commit e72f8a4f1f
104 changed files with 8799 additions and 35 deletions

View File

@@ -1,5 +1,22 @@
// @ts-check
import { defineConfig } from 'astro/config';
import { defineConfig, envField } from 'astro/config';
import react from '@astrojs/react';
import tailwindcss from '@tailwindcss/vite';
// https://astro.build/config
export default defineConfig({});
export default defineConfig({
integrations: [react({
include: ['**/react/*']
})],
vite: {
plugins: [tailwindcss()],
},
env: {
schema: {
TMDB_API_TOKEN: envField.string({ context: 'client', access: 'public', default: 'https://api.example.com' }),
SETTINGS_TOKEN: envField.string({ context: 'server', access: 'secret' }),
}
}
});