mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
docs: add steps for contributing to docs locally (#23270)
This commit is contained in:
parent
ac380ad053
commit
d7aa6f37af
@ -131,9 +131,10 @@ git checkout -b my-new-branch
|
||||
The Nuxt documentation is currently deployed within [nuxt/nuxt.com](https://github.com/nuxt/nuxt.com) as a layer.
|
||||
|
||||
- Run `pnpm build:stub` once in the root directory
|
||||
<!-- - Go into the docs directory: `cd docs` -->
|
||||
<!-- - Install docs dependencies using `yarn install` -->
|
||||
<!-- - Run `yarn dev` to start docs in development mode -->
|
||||
- Go into the `.website` directory: `cd .website`
|
||||
- Install dependencies using `pnpm install`
|
||||
<!-- TODO: make 2 previous steps transparent by running pnpm docs:dev from root directory -->
|
||||
- Run `pnpm dev` to start docs in development mode
|
||||
- Before opening a PR, run `pnpm lint:docs:fix` to highlight and resolve any lint issues
|
||||
|
||||
::alert
|
||||
|
Loading…
Reference in New Issue
Block a user