npm-stats icon indicating copy to clipboard operation
npm-stats copied to clipboard

Move to nuxtjs

Open apertureless opened this issue 8 years ago • 3 comments

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

apertureless avatar Jul 19 '17 08:07 apertureless

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.

christophherr avatar Oct 01 '17 22:10 christophherr

Cool! I will check it out :)

apertureless avatar Oct 02 '17 08:10 apertureless

@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.

apertureless avatar Oct 05 '17 09:10 apertureless