简单说说如何使用vue-router插件的方法 1安装首先,通过npm安装vue-router插件:npminstall--savevue-router安装的插件版本是:vue-router@3.0.22 使用vue-router插件