mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-02 16:29:47 +02:00
docs(v2): fix migration command (#3249)
This commit is contained in:
parent
cf53584abd
commit
b75a7150b2
1 changed files with 2 additions and 2 deletions
|
@ -673,10 +673,10 @@ To use the migration command, follow these steps:
|
|||
|
||||
```
|
||||
// migration command format
|
||||
npx docusaurus-migrate migrate <v1 website directory> <desired v2 website directory>
|
||||
npx @docusaurus/migrate migrate <v1 website directory> <desired v2 website directory>
|
||||
|
||||
// example
|
||||
npx docusaurus-migrate migrate ./v1-website ./v2-website
|
||||
npx @docusaurus/migrate migrate ./v1-website ./v2-website
|
||||
```
|
||||
|
||||
3. To view your new website locally, go into your v2 website's directory and start your development server.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue