Skip to content

sriteja2602/noteballs-vuejs

Repository files navigation

noteballs

This template should help get you started developing with Vue 3 in Vite.

Recommended IDE Setup

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint

Publishing Vue project on Github Pages

Include

base: '/noteballs-vuejs/' 

in define config in vite config file

Add

"homepage": "https://sriteja2602.github.io/noteballs-vuejs"

in package.json

Imp: Change Router to HashRouter

Once all these changes are done

Compile and Minify for Production

npm run build

Run

git add dist
git commit -m 'adding dist subtree'

Run

git subtree push --prefix dist origin gh-pages

Run the above command after every commit to deploy latestcommit