src/App.vue
@@ -4,6 +4,16 @@ </div> </template> <script> import devicePixelRatio from '@/utils/devicePixelRatio' export default { created () { new devicePixelRatio().init() } } </script> <style lang="scss"> #app { width: 100%; @@ -12,7 +22,7 @@ font-family: Avenir, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-align: center; // text-align: center; color: #2c3e50; } </style>