Skip to content
/ vue-3-stackter Public template

A Vue3 starter project setup with Vite, Vue-meta, Router, Pinia, Eslint, Prettier, Tailwind CSS, and some custom preferences. Also, there is a TypeScript branch of this same setup.

License

Notifications You must be signed in to change notification settings

shamscorner/vue-3-stackter

Repository files navigation

vue-3-stackter

Cover Image

A Vue3 starter project setup with these following components,

Check out Typescript version here

Check out Nuxt 3 starter template

Run this project:

yarn
yarn dev

Change site name

In App.vue change the following,

const siteName = 'Vite App' // add your site name here

Layouts

You can add layouts in your project if you want. You will find default.vue and 404.vue layout examples in this project. For more details, check out vite-plugin-vue-layouts. (Like Nuxt layouts system).

Pages

You can add pages to your project. You will find some example pages in the pages directory (index.vue, about/[name].vue, and [...all].vue). For more details, check out vite-plugin-pages. (Like Nuxt file system routing).

Meta info

You can add meta information in your pages. Here is an example,

<script setup>
import { useMeta } from 'vue-meta'

useMeta({
    title: 'Homepage',
})
...

</script>

Recommended IDE Setup

VSCode + Volar. Make sure to:

  • Disable Vetur for the current workspace
  • Disable built in TypeScript and JavaScript Language Features for the current workspace to enable take-over mode.

About

A Vue3 starter project setup with Vite, Vue-meta, Router, Pinia, Eslint, Prettier, Tailwind CSS, and some custom preferences. Also, there is a TypeScript branch of this same setup.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published