config.devServer.proxy doesn't proxy, shows NotFound.vue
yarn install
Using two terminal windows, run the below at the same time:
yarn server:start
This will start an express server on port 7070 with all routes returning 'Hello World'
yarn docs:dev
This will start a basic Vuepress app running on port 8080 (assuming not already in use)
- Navigate to http://localhost:7070/auth/test
Should show Hello World
Shows Hello World
✔
- Navigate to http://localhost:8080/auth/test
Should proxy :7070/auth/*
through port 8080
, therefore showing Hello World
Shows 404 page, from default NotFound.vue
component and using vue-router
✘