This template provides a starting point for building a web application using Svelte, Rollup, and Tailwind CSS. It's configured and ready to go—all you need to do is clone the repository and install the dependencies.
To get started with this template, follow these steps:
Clone this repository: git clone github.com/bashpro/svelte-rollup-tailwindcss-template
Navigate into the project directory: cd ./project-name
Install the dependencies: npm install
To run the project in development mode, execute the following command:
npm run dev
This will start a local development server and open up a browser window to your application.
To build the project for production, run:
npm run build
This will generate a public
folder with your compiled code, ready to be deployed.
Please note that while this template integrates Tailwind CSS for styling, Tailwind's dark mode functionality is not supported out of the box with Rollup due to certain limitations. If dark mode is a critical feature for your project, you may need to explore alternative setups or adjustments to the Tailwind configuration.
Contributions to improve the template are welcome. Please feel free to submit a pull request or open an issue if you have suggestions or find any bugs.
This template is open-sourced software licensed under the MIT license.