Skip to content

Latest commit

 

History

History
67 lines (43 loc) · 1.51 KB

README.md

File metadata and controls

67 lines (43 loc) · 1.51 KB

Vue Advanced Workshop

This is the companion repository to the Vue Advanced Workshop.

Prerequisites

Setup

  1. Clone this repo:
git clone https://github.com/yyx990803/vue-advanced-workshop.git
  1. Install dependencies (for automated tests):
cd vue-advanced-workshop
npm install

Usage

Switching Between Work and Solution Branches

This repo contains two branches: the master branch is where you will be working on the exercises, and the solutions branch contains the full solutions to each exercise.

To jump to the solutions branch, use the following git command:

git checkout solutions

To go back to the working branch:

git checkout master

Saving Your Work

As you work on the exercise, you will leave un-commited changes to the repo. Make sure to commit your changes before switching branches:

git add -A
git commit -m 'working on exercise 1.1'
git checkout solutions

After viewing the hints from the solutions branch, you can then go back to the master branch to continue the exercise.

Automated Tests

For each exercise there will be an automated test case to check if your implementation meets the requirements. To run the test for a given exercise (e.g. 1.1), run:

npm test -- -t 1.1

You can also run the test in watch mode (which automatically re-runs the tests as you edit the files) with:

npm run watch