Vue 3 + Vite + vite-setup.cmd
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3
<script setup> SFCs, check out the script setup docs to learn more. It is designed to be cloned from the command line by the vite-setup.cmd script.
The vite-setup.cmd script will download this file from Github and install all the dependencies. It will also add a remote repo for your new project and push it to Github. The added benefit of using vite-setup is that the eslintrc.js & prettierrc.js config files are also downloaded and configured with standard defaults.
Github CLI (e.g.,gh) is GitHub on the command line. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already working with git and your code. It enables us to create a remote repo of the cloned vite project. This is done in the vite-setup script so you dont have to create a remote repo of your new project yourself.
The easiest way to install gh is thru chocolaty. At admin command line issue –
choco install gh
We also use the npm-check-updates to update all packages to latest versions for each new project. Unfortunately as of this writing we also have to run npm install [email protected] seperately to insure latest version of vue is installed for the new project.