1.0.0 • Published 12 months ago
@kergrit/strapi-todo-simple-plugin v1.0.0
Welcome to strapi-todo-simple-plugin!
Hi! I'm your first Markdown file in StackEdit. If you want to learn about StackEdit, you can read me. If you want to play with Markdown, you can edit me. Once you have finished with me, you can create new files by opening the file explorer on the left corner of the navigation bar.
References
Strapi blog by Maxime Castres for main resource
- 1/6 Generate a Strapi plugin - How to create a Strapi v4 plugin
- 2/6 File structure of a Strapi plugin - How to create a Strapi v4 plugin
- 3/6 Add a content-type to a plugin - How to create a Strapi v4 plugin
- 4/6 Server customization - How to create a Strapi v4 plugin
- 5/6 Admin customization of a Strapi v4 plugin - How to create a Strapi v4 plugin
- 6/6 Publish a Strapi v4 plugin on npm - How to create a Strapi v4 plugin
Strapi blog by Ath Tripathi for request @strapi/helper-plugin
I combined from 2 resources because
- Maxime Castres is missing axiosInstance in tutorial
- Ath Tripathi is missing 2 components (modal and editModal) in tutorial
- Fixed some code using request @strapi/helper-plugin instead of axiosInstance
// used request instance
import { request } from "@strapi/helper-plugin";
const rest = await request("/someURL", {
method: "GET",
});
// instead of axiosInstance
import axiosInstance from '../../utils/axiosInstance';
await axiosInstance.get("/someURL");
1.0.0
12 months ago