docs(v2): add a missing "export" from the initial template#4546
Merged
slorber merged 2 commits intoApr 2, 2021
Conversation
|
⚡️ Lighthouse report for the changes in this PR:
Lighthouse ran on https://deploy-preview-4546--docusaurus-2.netlify.app/ |
Collaborator
|
Thanks, I'm going to expert the fn directly :) |
|
[V1] Built with commit a2613fb |
|
[V2] Built with commit a2613fb |
Foxeye-Rinx
deleted the
docs(v2)-add-missing-export-from-initial-template-instruction
branch
April 2, 2021 12:40
mrizwanashiq
pushed a commit
to mrizwanashiq/docusaurus
that referenced
this pull request
Jun 25, 2026
…4546) * docs(v2): add a missing "export" from the initial template * Update create-a-page.md Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Improve the initial template
For now, if a new user creates the project using the CLI, it opens at http://localhost:3000.
It is convenience for the user to continue reading at the guide that already shows on http://localhost:3000.
But it's missing an" export" command on the guide and it makes the guide doesn't work.
This commit is consistent with the official guide at https://docusaurus.io/docs/creating-pages (current version: 2.0.0-alpha.72)
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
No
Related PRs
#4320