svelte-rollup-tailwindcss-template Svelte Themes

Svelte Rollup Tailwindcss Template

a template for svelte rollup + tailwindcss

Svelte + Rollup + Tailwind CSS Template

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.

Getting Started

To get started with this template, follow these steps:

  1. Clone this repository: git clone github.com/bashpro/svelte-rollup-tailwindcss-template

  2. Navigate into the project directory: cd ./project-name

  3. Install the dependencies: npm install

Running the Project

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.

Building for Production

To build the project for production, run:

npm run build

This will generate a public folder with your compiled code, ready to be deployed.

Disclaimer

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.

Contributing

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.

License

This template is open-sourced software licensed under the MIT license.

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes