docs(v2): fix migration command (#3249)

This commit is contained in:
Bogdan 2020-08-11 18:16:48 +03:00 committed by GitHub
parent cf53584abd
commit b75a7150b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.