示例工程 16-shadcn-ui-component-layer

16-shadcn-ui-component-layer/app/.tsc/src/main.js

javascript · 0.6 KB

import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import { Toast } from "@base-ui-components/react/toast";
import App from "./App";
import { Toaster } from "./components/ui/toaster";
import "./styles/globals.css";
const root = document.getElementById("root");
if (!root)
    throw new Error("missing #root");
createRoot(root).render(_jsx(StrictMode, { children: _jsxs(Toast.Provider, { timeout: 0, limit: 3, children: [_jsx(App, {}), _jsx(Toaster, {})] }) }));
//# sourceMappingURL=main.js.map