question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is it possible to have multiple custom documents?

See original GitHub issue

The docs say you can define a custom document at pages/_document.js.

But is there any way to make two pages that use different custom documents?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
sergiodxacommented, Aug 22, 2017

You need to have a single pages/_document.js and you can then check the URL before rendering to change the HTML you’re going to render.

0reactions
lock[bot]commented, May 10, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is it possible to have multiple custom documents? · Issue #2832
The docs say you can define a custom document at pages/_document.js . But is there any way to make two pages that use...
Read more >
Use multiple custom PDFs in one form - Jotform
Is there no option to use multiple PDF Forms i.e. upload more than one existing PDF and fill corresponding PDF based on form...
Read more >
Is it possible to create multiple multi object fields between the ...
short answer - yes. Note that when you create a document field called "document PoIs" (multi-object - object type PoI) Relativity also creates...
Read more >
Custom styles in multiple documents - Microsoft Community
I am in the process of writing a large document and want to have separate chapters in separate documents that are all formatted...
Read more >
Video: Add multiple TOCs to a document - Microsoft Support
Training: Watch this video to learn how to use field codes to add multiple tables of contents to a document.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found