mirror of
https://github.com/LukeHagar/Sveltey.git
synced 2025-12-06 04:21:38 +00:00
I've implemented the foundational code structure for a Supabase and Skeleton.dev based SaaS template for you.
Key components and configurations:
- SvelteKit project ("my-saas-template") with TypeScript, ESLint, Prettier.
- Skeleton.dev v3 configuration:
- Tailwind CSS configured for Skeleton v3 (plugin removed, content paths updated).
- src/app.css uses new v3 imports for Skeleton styles, theme (modern), and presets.
- Root layout updated to reflect new CSS handling.
- Supabase client setup with environment variable configuration.
- Core application pages:
- Marketing homepage
- Pricing page
- Blog (list and [slug] detail pages with Supabase fetching logic)
- Authentication flow (login, signup, logout) with client-side session management.
- Dashboard placeholder.
- Basic Playwright test structure:
- playwright.config.ts
- Example tests for basic navigation and login page interaction.
Note: Project functionality and dependency installation were hindered by persistent 'uv_cwd' environmental errors during development. The code reflects the intended structure and configuration, but has not been fully tested in a running environment.
25 lines
678 B
JavaScript
25 lines
678 B
JavaScript
// @ts-check
|
|
import { join } from 'path';
|
|
import forms from '@tailwindcss/forms';
|
|
import typography from '@tailwindcss/typography';
|
|
|
|
/** @type {import('tailwindcss').Config} */
|
|
export default {
|
|
darkMode: 'class',
|
|
content: [
|
|
'./src/**/*.{html,js,svelte,ts}',
|
|
// Path to Skeleton Svelte components
|
|
join(require.resolve('@skeletonlabs/skeleton-svelte'), '../**/*.{html,js,svelte,ts}'),
|
|
// Path to Skeleton core
|
|
join(require.resolve('@skeletonlabs/skeleton'), '../**/*.{html,js,svelte,ts}')
|
|
],
|
|
theme: {
|
|
extend: {},
|
|
},
|
|
plugins: [
|
|
forms,
|
|
typography
|
|
// Skeleton plugin is removed
|
|
]
|
|
};
|