bcnzer / kv-explorer-ui

A tool to visualize the contents of namespaces in Cloudflare Workers KV
MIT License
21 stars 0 forks source link

perf: Use WebFontloader to load roboto font + icons async #3

Open manniL opened 5 years ago

manniL commented 5 years ago

Hey πŸ‘‹

I'd suggest using nuxt-webfontloader to load the Roboto font and Material Icons asynchronously so you page will be loaded faster ☺️

config (untested):

export default {
  //...other nuxt.config.js content
  webfontloader: {
    google: {
      families: ['Roboto:300,400,500,700:latin', 'Material+Icons']
    }
  }
bcnzer commented 5 years ago

@manniL Thank you very much telling me about this! I wasn't aware of this. This is my second Nuxt project ever 😁

Thanks again for telling me about this! I'll incorporate this shortly and in my other projects πŸ‘

manniL commented 5 years ago

@bcnzer You are welcome! I wasn't aware of that as well (until I discovered webfontloader and wrote that package roughly 2 weeks ago πŸ™Š