Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/richardevcom/vue3-boilerplate

Quick boilerplate for your next project, containing - Vite, Vuex, Vue Router & Tailwind CSS. This was created as part of my tutorial series.
https://github.com/richardevcom/vue3-boilerplate

boilerplate pinia svg tailwind tailwind-css tailwindcss template vue vue-router vue3 vuejs vuejs3 vuerouter

Last synced: 4 days ago
JSON representation

Quick boilerplate for your next project, containing - Vite, Vuex, Vue Router & Tailwind CSS. This was created as part of my tutorial series.

Awesome Lists containing this project

README

        

# [![](https://img.shields.io/static/v1?label=Sponsor+%F0%9F%91%89&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86)](https://github.com/sponsors/richardevcom) Vue 3 boilerplate - Vite, Pinia, Vue Router & Tailwind CSS

This boilerplate was created as part of my [custom Vue 3 boilerpalte tutorial](https://medium.com/@richardevcom/custom-vue3-boilerplate-9635806acde3). It will help get you started developing with Vue 3 in Vite. The template uses Vue 3 `` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.

## Support & collaboration

[![discord-server](https://img.shields.io/discord/852916497314742362?color=%238A48FF&label=DISCORD%20SERVER&logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAANUAAADwCAMAAACg%2F9E0AAAAdVBMVEUAAAD%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%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FoDKbe4a6yEo2Up2EcL%2FpqHIdTJ5u64nAPaxUGs55fgxP2dwYSK5GyNQWfSod2SUitJ2yufAiXoeGQGp%2FIdwnCZZh%2FVIRvNJc7xmRdGjIoLT7IDRweV42O%2FnJVvJa%2BoPwa7eJHRabTNRG6OOQh4pvoXT3kMuZqmgnv%2BtIccuE2W9NM9C7nrYJww3Cn2Cbv6cQIOV38Jxrxyu8XGIecqm8vvQOpyXMhOvqugkR6T2kS4X8MTENmpSaMiaBarDDLIbfKLVaTgGwW538t5NdSrzyCeg7r4RlGehJB3XF4Bv68pP%2Fbg2MBAAAAgEH%2B1sPYUwEAAAAAAAAAAAAMAizJOkF8xEwmAAAAAElFTkSuQmCC&style=for-the-badge)](http://discord.gg/ZptSdXMPrM)

## Dependencies

- [nodejs ^14.18.0](https://nodejs.org/)

## Stack

- [Vue](https://vuejs.org/)
- [Pinia](https://pinia.vuejs.org/)
- [Vue Router](https://router.vuejs.org/)
- [Tailwind CSS](https://tailwindcss.com/)
- eslint
- prettier
- cssnano

## Install

```
npm i @richardev/vue3-boilerplate
```

or

```
git clone https://github.com/richardevcom/vue3-boilerplate.git
```

then

```
cd vue3-boilerplate
npm install
```

## Recommended IDE Setup

[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [Tailwind CSS Intellisense](https://github.com/tailwindlabs/tailwindcss-intellisense).

## Customize configuration

See [Vite Configuration Reference](https://vitejs.dev/config/).

## Project Setup

```sh
npm install
```

### Compile and Hot-Reload for Development

```sh
npm run dev
```

### Compile and Minify for Production

```sh
npm run build
```

### Lint with [ESLint](https://eslint.org/)

```sh
npm run lint
```