Giter Site home page Giter Site logo

vanilluis / sveltekit-tailwind-starter-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bmkubia/sveltekit-tailwind-starter

0.0 0.0 1.0 12 KB

A barebones starter kit for SvelteKit and TailwindCSS that includes: TypeScript, Prettier, ESLint, PostCSS, and SASS.

License: MIT License

JavaScript 47.37% CSS 8.15% HTML 6.61% Svelte 37.87%

sveltekit-tailwind-starter-1's Introduction

๐Ÿ’ป ๐ŸŸฆ SvelteKit + TailwindCSS Starter

A barebones SvelteKit starter that allows you to quickly scaffold a project with TailwindCSS.

SvelteKit TypeScript Tailwindcss PostCSS Prettier Eslint License: MIT

โš™๏ธ Installing this starter kit

# clone this repository
git clone [email protected]:bmkubia/sveltekit-tailwind-starter.git

# or install with npx degit
npx degit [email protected]:bmkubia/sveltekit-tailwind-starter.git

# enter your cloned folder and install dependencies
cd sveltekit-tailwind-starter && npm i

๐Ÿ›  Developing your application

# start the development environment
npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Note: you can also run npm run dev:host if you need to access the application on your local network.

Prettier

The project comes included with a .prettierrc file (only because I had the option that requires the file in your project on my VSCode), this may not suit your style and can easily be removed or replaced as needed.

TailwindCSS Config

I have left the tailwind.config.cjs fairly barebones, if you wish to extend the styling or add plugins please refer to the TailwindCSS documentation.

โš—๏ธ Building your application

Before creating a production version of your app, you must install an adapter for your target environment. This starter kit does not come with an adapter pre-installed and gives you the freedom to add your own.

Once you have chosen your adapter you can build by running the following command:

# build application for production
npm run build

You can preview your built application with npm run preview, regardless of whether you have installed an adapter or not. However, keep in mind that this should not be used to serve your appplication in production.

๐Ÿ“ Contributing to this project

I built this mainly for myself to use because all of the starter kits that I tend to use are fairly bloated with things I find unnecessary (such as testing, yuck! /s). If you wish to contribute to the project feel free to open a PR or leave an Issue for something that you would want added in the future.

All code and contributions are under the MIT License.

sveltekit-tailwind-starter-1's People

Contributors

bmkubia avatar

Forkers

kongulo-is

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.