Skip to content

THAlpha/vuepress-proxy-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Replicating the issue

VuePress issue:

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)

Verification of issue

Verify server is working correctly ✔

Expected Result

Should show Hello World

Actual Result

Shows Hello World

Express Server

Verify proxy is working correctly ✘

Expected Result

Should proxy :7070/auth/* through port 8080, therefore showing Hello World

Actual Result

Shows 404 page, from default NotFound.vue component and using vue-router

VuePress

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published