Installation
This package contains the vue components that implement the codey design system. To install the package, run the following command:
npm i @xerius/codey-components
Install the plugin
The CodeyComponents
plugin must be used in order to be able to use the components. It will register the required codey-style
theme files as well as the required configuration for PrimeVue
components.
import { CodeyComponents } from "@xerius/codey-components";
const app = createApp(App);
app.use(CodeyComponents, {
// Enable the Toast Service (optional)
useToastService: true,
});
app.mount("#app");
INFO
It is not required to manually import the codey-style
theme files.