@stackflow/plugin-devtools
v0.1.12
Published
Enables Stackflow Devtools (Chrome extension)
Keywords
Readme
@stackflow/plugin-devtools
Enables Stackflow Devtools (Chrome extension)
Usage
import { defineConfig } from "@stackflow/config";
export const config = defineConfig({
activities: [
{
name: "MyHome",
},
{
name: "MyArticle",
},
],
transitionDuration: 350,
});import { stackflow } from "@stackflow/react";
import { devtoolsPlugin } from "@stackflow/plugin-devtools";
import { config } from "./stackflow.config";
import { MyHome } from "./MyHome";
import { MyArticle } from "./MyArticle";
const { Stack } = stackflow({
config,
components: {
MyHome,
MyArticle,
},
plugins: [
devtoolsPlugin(),
// ...
],
});