VS CODE -plugin"live Server" How to load files from the same folder
20:48 05 Jan 2026

problem

when I launch plugin"live server" in "2.importWithLocal.html", it only load this file, and not load .js/vue.js

here is a picture https://20040424.xyz/PicList/2026-01-06_09-44-52-0.png (sorry,

help!

how to config to load
all sibling files when i
start "live server"?

file structure

└─01
    │  1.importWithCDN.html
    │  2.importWithLocal.html
    │
    └─js
            vue.js

problem code "2.importWithLocal.html"



  
    
    
    Document
  
  
    

what I had try

None of the following can solve this problem in the setting.json

  1. use "mount"
    "liveServer.settings.mount": [
        ["/","./js"]
    ],
  1. use "root"
"liveServer.settings.root": "/01",
visual-studio-code liveserver