mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-01 10:22:30 +02:00
fix(v2): swizzle should receive correct load context (#1844)
* fix(v2): swizzle should receive correct load context * new prettier version * niits
This commit is contained in:
parent
b82e211546
commit
d96b5f99b9
21 changed files with 480 additions and 460 deletions
|
@ -462,6 +462,8 @@ yarn start
|
|||
|
||||
In Docusaurus 1, all the build artifacts are located within `website/build/<PROJECT_NAME>`. However, in Docusaurus 2, it is now moved to just `website/build`. Make sure that you update your deployment configuration to read the generated files from the correct `build` directory.
|
||||
|
||||
If you are deploying to GitHub pages, make sure to run `yarn deploy` instead of `yarn publish-gh-pages` script.
|
||||
|
||||
## Example migration PRs
|
||||
|
||||
You might want to refer to our migration PRs for [Create React App](https://github.com/facebook/create-react-app/pull/7785) and [Flux](https://github.com/facebook/flux/pull/471) as examples of how a migration for a basic Docusaurus v1 site can be done.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue