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

Question: Nextjs implementation docs #28

Open
gregg-cbs opened this issue May 20, 2021 · 1 comment
Open

Question: Nextjs implementation docs #28

gregg-cbs opened this issue May 20, 2021 · 1 comment

Comments

@gregg-cbs
Copy link

gregg-cbs commented May 20, 2021

Would it be possible to have better Nextjs implementation docs?

I have read the styletron implementation docs but its tough to know what atomize does under the hood and what of styletron i need to implement.

Your docs are very impressive by the way, nice looking and comprehensive.

@eddort
Copy link
Member

eddort commented May 20, 2021

Thank you for your interest in the lib!)
I have created a repository to showcase an example: nextjs+atomize: https://github.com/Eddort/atomize-nextjs-example

In Step-by-step order:

  1. Create a project and install dependencies
  2. Add scripts
  3. Create a pages folder and a first page
  4. Add styled components
  5. Add a babel plugin and a custom .babelrc file
  6. Add @quarkly/atomize
  7. Create a custom _document.js file

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

No branches or pull requests

2 participants