1.0.9 • Published 11 months ago

@wunschlachen/wl-shared-components v1.0.9

Weekly downloads
-
License
-
Repository
-
Last release
11 months ago

WL Shared UI Components

This library provides a set of UI components used across all applications within the WL ecosystem.

Adding @wunschlachen/wl-shared-components to a Nuxt Project

Step 1: Install the Library

To add WL components, use Node's package manager:

npm install @wunschlachen/wl-shared-components

Step 2: Create a Vuetify Plugin File

Create a new file named wlSharedComponents.js inside your plugins folder, and add the following code to define the Vuetify plugin:

// plugins/wlSharedComponents.js
import { defineNuxtPlugin } from "#app";
import vuetify from "@wunschlachen/wl-shared-components/src/plugins/vuetify";

export default defineNuxtPlugin((nuxtApp) => {
  nuxtApp.vueApp.use(vuetify);
});

Step 3: Update Nuxt Configuration

In your nuxt.config.js, add the following configurations:

Add vuetify and @wunschlachen/wl-shared-components to the build.transpile section. Register the Vuetify plugin by adding it to the plugins array.

export default defineNuxtConfig({
  build: {
    transpile: ["vuetify", "@wunschlachen/wl-shared-components"],
  },
});

Development

Running Storybook To begin development and launch Storybook, execute:

npm install
npm run storybook

Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss proposed changes.

Ensure that any necessary tests are updated to maintain project integrity.

1.0.9

11 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

12 months ago

1.0.5

12 months ago

1.0.4

12 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago