Cannot assign to read only property 'exports' of object '
vue中的router模块会报错UncaughtTypeError:Cannotassigntoreadonlyproperty&39;exports&39;ofobject&39;<Object>&39;这是因为不许混用import和module.e
vue中的router模块会报错UncaughtTypeError:Cannotassigntoreadonlyproperty&39;exports&39;ofobject&39;<Object>&39;这是因为不许混用import和module.e
Demo在线演示(https://link.segmentfault.com/?enc3Lp0G9wWdE9UADzeRzhYAQ%3D%3D.W%2FtbRBaAn2lqlh4J%2FF9AHsn9CTqTSwcmi%2B72Ie23T3oOo0NtFzlpjmOe5PsWEK