Skip to content

gyk4j/vue-app

Repository files navigation

Vue build

vue-app

System setup

Prerequisites:

  1. Yarn v1.22.22 (NOTE: Yarn 1 Classic has been replaced by Yarn 2+)
  2. Vue 2 (NOTE: Vue 2 has reached EOL)
  3. vue-cli (NOTE: Superceded by vite from Vue 3)

Install Yarn package manager

$ npm install -g yarn@1.22.22
$ yarn --version

Install Vue 2 and CLI

$ yarn global add vue@^2
$ yarn global add @vue/cli
$ vue --version

Create empty project using template

$ vue create vue-app -p "Default (Vue 2)"
$ cd vue-app
$ yarn set version classic

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Lints and fixes files

yarn lint

Customize configuration

See Configuration Reference.

About

A Vue test project for testing transformation of a HTML5 web template

Topics

Resources

License

Stars

Watchers

Forks