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

[WIP] docs(generator): use NextJS to generate prerendered pages #2896

Closed
wants to merge 3 commits into from

Conversation

layershifter
Copy link
Member

WIP

Fixes #2826.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@layershifter
Copy link
Member Author

@levithomason can you take a look and give some feedback?

This is an early POC, you will need to run:

yarn next:build
yarn next:serve

I don't integrated it deeply to our build process, yet. There are only two working pages:

The generated pages will be also in the out directory, so you will can review them.


If we will use NextJs we should make changes in the directory structure:

docs/src/views => pages
docs/src/assets => static

@layershifter
Copy link
Member Author

I tried react-static and seems that it feets better, working on new PR.

@layershifter layershifter deleted the docs/static branch June 19, 2018 13:02
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

Successfully merging this pull request may close these issues.

None yet

1 participant