Skip to content

RoyRao2333/template-vite-svelte-ts-tailwind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Vite SVGSvelte SVG

template-vite-svelte-ts-tailwind

Introduction

A starter Vite template having:

Note

This code repository may occasionally update its dependency versions. If the dependency versions in the latest code do not meet your expectations, please go to Tags section to download a previous version of this template. I will display the dependencies used in each Tag, please choose the one you need.

这个代码仓库可能会不定期更新其依赖包的版本。如果最新代码中依赖的版本不符合你的期望,请移步Tags下载之前的模板。每个Tag中使用的依赖都会展示在Tag详情中,请选择你需要的版本。

Install

This project uses node and a package manager (npm, yarn or pnpm). Go check them out if you don't have them locally installed.

Then you need a copy of this repository. You can download a copy of Svelte or SvelteKit as zip but tiged is recommended.

After you installed tiged, please excute the following command:

$ cd path-to-save-your-project
# If you want a Svelte + Vite project
$ tiged royrao2333/template-vite-svelte-ts-tailwind#Svelte your-project-name
# If you want a SvelteKit project
$ tiged royrao2333/template-vite-svelte-ts-tailwind#SvelteKit your-project-name

After getting a copy of the template, you can use your package manager to install dependecies:

$ cd path-to-your-project
$ pnpm install

# npm install
# yarn install

Usage

Let's run!

$ pnpm run dev

# npm run dev
# yarn run dev

We've already implemented some recommended configurations in .eslintrc.js, .eslintignore, .prettierrc.js and .prettierignore. Feel free to edit them if you have your own preferences.

Contributing

Feel free to dive in! Open an issue or submit PRs.

License

MIT © Roy Rao