Vue 3 Stackter Save

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.

Project README

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>

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.
Open Source Agenda is not affiliated with "Vue 3 Stackter" Project. README Source: shamscorner/vue-3-stackter
Stars
122
Open Issues
1
Last Commit
1 year ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating