Skip to content

Latest commit

 

History

History
67 lines (46 loc) · 2.57 KB

README.md

File metadata and controls

67 lines (46 loc) · 2.57 KB

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.