Subscribe on changes!

Windows Path Issue When Serving

avatar
May 7th 2020

Description

  • Error When Serving App With Typescript, Vuex and Router

  • It Is A Windows Path Issue

  • It's Not Only A .ts And .vue Problem This Issue Is Same For .js Also

  • index.html

<div id="app"></div>
<script type="module">
  import { createApp } from "vue";
  import App from "./App.vue";
  import router from "./router/index.ts";
  import store from "./store/index.ts";

  createApp(App).use(router).use(store).mount("#app");
</script>
  • Error In Chrome Console Annotation 2020-05-07 115110

  • When Clicked (index):1 Annotation 2020-05-07 115230

System Info

  • vite version: 0.11.3

  • Operating System: Windows

  • Node version: 14.2.0

avatar
May 7th 2020

in 0.11.2 there is no problem

avatar
May 7th 2020

in 0.11.2 there is no problem

Sorry My Mistake Changed It

avatar
May 7th 2020

Had to rollback to 0.10.3 until the fix is in place