src/main.js
@@ -95,6 +95,9 @@ app.config.globalProperties.$dayjs = dayjs app.config.globalProperties.website = website app.config.globalProperties.getScreen = getScreen app.config.globalProperties.pxToVh = height => height / 10.8 + 'vh' app.config.globalProperties.pxToRem = width => width * 0.1 + 'rem' app.use(error) app.use(i18n) app.use(store)