diff --git a/.gitignore b/.gitignore index b4158de9..78710161 100644 --- a/.gitignore +++ b/.gitignore @@ -27,6 +27,3 @@ coverage *.njsproj *.sln *.sw? - -# Local vite config -vite.config.ts diff --git a/README.md b/README.md index 12880aab..b822df06 100644 --- a/README.md +++ b/README.md @@ -147,11 +147,6 @@ See [Vite Configuration Reference](https://vitejs.dev/config/). ## Project Setup -Create a local copy of vite config. -```sh -cp vite.config.ts.template vite.config.ts -``` - Install project. ```sh npm install diff --git a/src/App.vue b/src/App.vue index 3149712d..2fcbb06b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -24,7 +24,7 @@ const audio = useAudioStore() // == URL path handling == /** - * Strip away base path such as /scaleworkshop-dev/ + * Strip away base path "/" */ function getPath(url: URL) { return url.pathname.slice(import.meta.env.BASE_URL.length) diff --git a/vite.config.ts.template b/vite.config.ts similarity index 89% rename from vite.config.ts.template rename to vite.config.ts index af92d48e..5c45e1d9 100644 --- a/vite.config.ts.template +++ b/vite.config.ts @@ -12,6 +12,5 @@ export default defineConfig({ alias: { '@': fileURLToPath(new URL('./src', import.meta.url)) } - }, - base: "/scaleworkshop-dev/" + } })