mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-09-30 21:54:57 +02:00
- Updated package.json to include new dependencies and modify scripts for Vite. - Added postcss.config.js for Tailwind CSS and Autoprefixer integration. - Created app.css to define Tailwind CSS styles and custom CSS variables. - Modified +layout.svelte to import app.css and check authentication on mount. - Updated +page.svelte to redirect users based on authentication status. - Added login page with form handling for user authentication. - Changed Svelte adapter to '@sveltejs/adapter-node' and added Vite preprocess. - Created tailwind.config.js for Tailwind CSS configuration. - Updated vite.config.ts to remove Tailwind CSS plugin as it's now handled in postcss.config.js.
7 lines
73 B
JavaScript
7 lines
73 B
JavaScript
export default {
|
|
plugins: {
|
|
tailwindcss: {},
|
|
autoprefixer: {}
|
|
}
|
|
};
|