Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to nuxtjs #14

Open
apertureless opened this issue Jul 19, 2017 · 3 comments
Open

Move to nuxtjs #14

apertureless opened this issue Jul 19, 2017 · 3 comments

Comments

@apertureless
Copy link
Owner

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

@christophherr
Copy link

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
Copy link
Owner Author

Cool! I will check it out :)

@apertureless
Copy link
Owner Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants