Skip to content

Windows Path Issue When Serving #69

@bekalshenoy

Description

@bekalshenoy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions