Subscribe on changes!

import vuex, vue-router leads to module load failure on windows

avatar
May 5th 2020

Reference to https://github.com/vuejs/vite/issues/23

Importing vue-router and vuex

import { createRouter, createWebHistory } from 'vue-router'
import { createStore } from 'vuex'

Leading to errors

image

OS: Windows 10 Pro Browser: Chrome 81 Node: 12.16

  "dependencies": {
    "axios": "^0.19.2",
    "vue": "^3.0.0-beta.9",
    "vue-router": "^4.0.0-alpha.10",
    "vuex": "^4.0.0-beta.1"
  },
  "devDependencies": {
    "@vue/compiler-sfc": "^3.0.0-beta.9",
    "snowpack": "^1.7.1",
    "vite": "^0.10.2"
  },
avatar
May 5th 2020

this is to support the issue, I am a windows 10 user and I have the same Err

avatar
May 5th 2020

duplicate of #23