Skip to content

Commit

Permalink
Improve passing data plugins guide introduction
Browse files Browse the repository at this point in the history
  • Loading branch information
pwizla committed Dec 19, 2023
1 parent 31f10ec commit 77f9819
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ displayed_sidebar: devDocsSidebar

# How to pass data from server to admin panel with a Strapi plugin

Strapi is **headless** <HeadlessCms />. The admin panel is completely separate from the server.
Plugins in Strapi help you add additional features to the existing core set of built-in features. They can be used to extend the API, customize the admin panel, and more. In many cases, you would like your plugin to store data for later retrieval, and to access this data.

When [developing a Strapi plugin](/dev-docs/plugins/developing-plugins) you might want to pass data from the `/server` to the `/admin` folder. Within the `/server` folder you have access to the Strapi object and can do database queries whereas in the `/admin` folder you can't.

Strapi is **headless** <HeadlessCms />. The admin panel is completely separate from the server.

Passing data from the `/server` to the `/admin` folder can be done using the admin panel's Axios instance:

```mermaid
Expand Down

1 comment on commit 77f9819

@vercel
Copy link

@vercel vercel bot commented on 77f9819 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
documentation-git-main-strapijs.vercel.app
docs-vercel-v4.strapi.io

Please sign in to comment.