<base href="/"> <!--use this for localhost8000 --> <!--use this for else--> <base href=".">
Adding .js to import { thing } from './file.js';