apertureless / npm-stats

📈 npm package statistics dashboard build with vue
http://www.npm-stats.org
115 stars 31 forks source link

Move to nuxtjs #14

Open apertureless opened 7 years ago

apertureless commented 7 years ago

I guess it would be a good idea to refactor npm-stats to nuxtjs to utilize ssr

christophherr commented 7 years ago

I created a working nuxt version here: https://github.com/christophherr/npm-stats/tree/nuxt Meta and Analytics need work (e.g. setUrl() ) but I wanted to hear if this is going in the direction you had in mind before I continue.

apertureless commented 7 years ago

Cool! I will check it out :)

apertureless commented 7 years ago

@christophherr looking good so far. however I guess i would split the normal start page and the package pages into dynamic routes

/_package/index.vue

This would allow to set the title based on the package name and add twitter cards and some seo stuff cleanly based on the package you're searching.