These steps have been executed to create this project skeleton. You don't need to repeat them, just follow the README.md and you're done!
$ brew install yarn
$ yarn -v
1.9.4
Following the online docs:
$ yarn global add @vue/cli
yarn global v1.9.4
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 📃 Building fresh packages...
success Installed "@vue/[email protected]" with binaries:
- vue
✨ Done in 22.14s.
$ vue --version
3.0.1
Options described in the online docs
$ vue create --no-git --packageManager yarn --default piggy-bank
Vue CLI v3.0.1
✨ Creating project in /Users/jfischer/dev/git/piggy-bank.
⚙ Installing CLI plugins. This might take a while...
yarn install v1.9.4
info No lockfile found.
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
success Saved lockfile.
✨ Done in 17.30s.
🚀 Invoking generators...
📦 Installing additional dependencies...
yarn install v1.9.4
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 📃 Building fresh packages...
success Saved lockfile.
✨ Done in 3.71s.
⚓ Running completion hooks...
📄 Generating README.md...
🎉 Successfully created project piggy-bank.
👉 Get started with the following commands:
$ cd piggy-bank
$ yarn serve
$ yarn serve
yarn run v1.9.4
$ vue-cli-service serve
INFO Starting development server...
98% after emitting CopyPlugin
DONE Compiled successfully in 2650ms
App running at:
- Local: http://localhost:8080/
- Network: http://172.21.129.0:8080/
Note that the development build is not optimized.
To create a production build, run yarn build.
$ yarn add express
yarn add v1.9.4
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
warning Pattern ["express@^4.16.3"] is trying to unpack in the same destination "/Users/jfischer/Library/Caches/Yarn/v2/npm-express-4.16.3-6af8a502350db3246ecc4becf6b5a34d22f7ed53" as pattern ["express@^4.16.2","express@^4.16.2"]. This could result in non-deterministic behavior, skipping.
[3/4] 🔗 Linking dependencies...
warning "@vue/cli-plugin-babel > [email protected]" has incorrect peer dependency "@babel/core@^7.0.0".
warning "@vue/cli-plugin-babel > [email protected]" has unmet peer dependency "webpack@>=2".
warning "@vue/cli-plugin-eslint > [email protected]" has unmet peer dependency "webpack@>=2.0.0 <5.0.0".
[4/4] 📃 Building fresh packages...
success Saved lockfile.
success Saved 1 new dependency.
info Direct dependencies
└─ [email protected]
info All dependencies
└─ [email protected]
✨ Done in 2.99s.
$ heroku auth:login
heroku: Enter your login credentials
Email [[email protected]]:
Password: ***
Logged in as [email protected]
$ heroku git:remote --app=beyond-piggy-bank
set git remote heroku to https://git.heroku.com/beyond-piggy-bank.git
$ brew unlink node
Unlinking /usr/local/Cellar/node/10.9.0... 7 symlinks removed
$ brew link --force --overwrite node@8
Linking /usr/local/Cellar/node@8/8.11.4... 4287 symlinks created
If you need to have this software first in your PATH instead consider running:
echo 'export PATH="/usr/local/opt/node@8/bin:$PATH"' >> ~/.bash_profile
$ yarn add axios
yarn add v1.9.4
[1/5] 🔍 Validating package.json...
[2/5] 🔍 Resolving packages...
[3/5] 🚚 Fetching packages...
[4/5] 🔗 Linking dependencies...
warning "@vue/cli-plugin-babel > [email protected]" has incorrect peer dependency "@babel/core@^7.0.0".
warning "@vue/cli-plugin-babel > [email protected]" has unmet peer dependency "webpack@>=2".
warning "@vue/cli-plugin-eslint > [email protected]" has unmet peer dependency "webpack@>=2.0.0 <5.0.0".
[5/5] 📃 Building fresh packages...
success Saved lockfile.
success Saved 1 new dependency.
info Direct dependencies
└─ [email protected]
info All dependencies
└─ [email protected]
✨ Done in 7.55s.
$ yarn add uri-templates
yarn add v1.9.4
[1/5] 🔍 Validating package.json...
[2/5] 🔍 Resolving packages...
[3/5] 🚚 Fetching packages...
[4/5] 🔗 Linking dependencies...
warning "@vue/cli-plugin-babel > [email protected]" has incorrect peer dependency "@babel/core@^7.0.0".
warning "@vue/cli-plugin-babel > [email protected]" has unmet peer dependency "webpack@>=2".
warning "@vue/cli-plugin-eslint > [email protected]" has unmet peer dependency "webpack@>=2.0.0 <5.0.0".
[5/5] 📃 Building fresh packages...
success Saved lockfile.
success Saved 1 new dependency.
info Direct dependencies
└─ [email protected]
info All dependencies
└─ [email protected]
✨ Done in 3.77s.