Installation
Install
Section titled “Install”Terminal window npm install @dxdns/feflow-core @dxdns/feflow-vueTerminal window pnpm add @dxdns/feflow-core @dxdns/feflow-vueSetup provider
Section titled “Setup provider”Wrap your application with the
FeflowProvider
to enable all Feflow components. This should be done at the layout level to ensure global access.Recommended: Place this in
src/main.ts
(React root element)Directorysrc
- main.ts
import { createApp, h } from "vue"import App from "./App.vue"import { FeflowProvider } from "./lib"const app = createApp({render() {return h(FeflowProvider, null, {default: () => h(App)})}})app.mount("#app")Enjoy!
Section titled “Enjoy!”<script setup lang="ts">import { Button } from "@dxdns/feflow-vue"</script><template><Button>Click me</Button></template>