Skip to content

Commit

Permalink
Remove yarn build from plugins dev. docs as yarn develop already builds
Browse files Browse the repository at this point in the history
  • Loading branch information
pwizla committed Dec 19, 2023
1 parent 1d29c10 commit e3dc28e
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,12 @@ Once the plugin code has been generated and the plugin is enabled, the next step
</TabItem>
</Tabs>

3. Navigate back to the Strapi project root with `cd ../../..` and run the following commands to build the admin panel and start the server(s):
3. Navigate back to the Strapi project root with `cd ../../..` and run the following command to build the admin panel and start the server(s):

<Tabs groupId="yarn-npm">
<TabItem value="yarn" label="Yarn">

```sh
yarn build
yarn develop
```

Expand All @@ -160,7 +159,6 @@ Once the plugin code has been generated and the plugin is enabled, the next step
<TabItem value="npm" label="NPM">

```sh
npm run build
npm run develop
```

Expand Down Expand Up @@ -215,13 +213,12 @@ Once the plugin code has been generated and the plugin is enabled, the next step

This step transpiles the TypeScript files and outputs the JavaScript files to a `dist` directory that is unique to the plugin.

4. Navigate back to the Strapi project root with `cd ../../..` and run the following commands to build the admin panel and start the server(s):
4. Navigate back to the Strapi project root with `cd ../../..` and run the following command to build the admin panel and start the server(s):

<Tabs groupId="yarn-npm">
<TabItem value="yarn" label="Yarn">

```sh
yarn build
yarn develop
```

Expand All @@ -230,7 +227,6 @@ Once the plugin code has been generated and the plugin is enabled, the next step
<TabItem value="npm" label="NPM">

```sh
npm run build
npm run develop
```

Expand Down

1 comment on commit e3dc28e

@vercel
Copy link

@vercel vercel bot commented on e3dc28e Dec 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

documentation – ./

documentation-strapijs.vercel.app
docs-vercel-v4.strapi.io
documentation-git-main-strapijs.vercel.app

Please sign in to comment.