- Added Tailwind CSS configuration and styles to the project. - Created a button component with multiple variants and sizes. - Implemented utility functions for class name management. - Updated layout and design pages to utilize the new button component. - Configured VSCode settings for Tailwind CSS support. - Added PostCSS configuration for Tailwind CSS processing. - Established a pnpm workspace for dependency management.
15 lines
337 B
TypeScript
15 lines
337 B
TypeScript
import tailwindcss from '@tailwindcss/vite';
|
|
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
plugins: [tailwindcss(), sveltekit()],
|
|
ssr: {
|
|
external: ['cloudflare:workers'],
|
|
noExternal: []
|
|
},
|
|
build: {
|
|
rollupOptions: { external: ['cloudflare:workers'] }
|
|
}
|
|
});
|