[Update] Change download and load plugins structure.(change the plugins' build method vite to webpack. load esm.js )

This commit is contained in:
Sakamoto Shiina
2025-03-11 01:03:18 +09:00
parent 48c6e7d69f
commit 77795192a0
10 changed files with 428 additions and 278 deletions

View File

@@ -1,4 +1,3 @@
import React from "react";
import { initStore } from "./store/store";
import { MainContainer } from "./main_container/MainContainer";

View File

@@ -1,4 +1,5 @@
import { useStore } from "../store/store";
import { useEffect } from "react";
export const MainContainer = () => {
const { updateCountPluginState, currentCountPluginState } = useStore("useStore_CountPluginState");
@@ -9,6 +10,9 @@ export const MainContainer = () => {
}));
};
useEffect(() => {
}, [])
return (
<div>
<p>1 Zipped Dev Plugin Count: {currentCountPluginState?.data?.count}</p>