uniapp 引入 vant H5 版本
uniapp 引入 vant web版本
uniapp 引入 vant web版本
在manifest.json文件中
项目需求需要在vue中展示pdf,vue-pdf这个插件非常好用,并且还有许多方法、属性能进行功能扩展。
目录为 mp
//vue.config.js 改为
publicPath: '/mp/',
const createRouter = () =>
new Router({
base: '/mp/', //改为
mode: 'history', // require service support
scrollBehavior: () => ({ y: 0 }),
routes: constantRoutes
})