1.0.2 • Published 1 year ago

@statikbe/repair-components v1.0.2

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

repair-components

This package contains Vue components for Repair projects, styled with TailwindCSS.

Installation

Install the package to your Repair project:

yarn add @statikbe/repair-components

Then install the plugin:

import RepairComponents from '@statikbe/repair-components';

Vue.use(RepairComponents);

Make sure to add the vue-i18n instance to your Vue initialization to make translations work:

import { i18n } from '@statikbe/repair-components';

new Vue({
  i18n,
}).$mount('#app');

Alternatively, if using Nuxt, make sure to pass the existing i18n instance from the nuxt-i18n module, will get extended with the necessary translations:

@todo check repmap

Options

You can pass some options:

Vue.use(RepairComponents, {
  i18n, // for Nuxt, see above
  icons: {
    myIcon: '...',
    // key = identifier (as passed to r-icon name prop)
    // value = SVG path "d" attribute as string
  },
});

Documentation

Check out the components and their props at the Storybook documentation.

For developers

Publishing to NPM

First, run yarn build to build this package as a library.

To publish this package to the NPM registry, make sure you are logged in with statikbe credentials (see 1pw) using npm login, then run npx np --no-2fa. Respect the semantic versioning guidelines when doing so!

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.7.8

1 year ago

0.7.6

2 years ago

0.7.7

2 years ago

0.7.5

2 years ago

0.7.2

2 years ago

0.7.4

2 years ago

0.7.3

2 years ago

0.7.1

2 years ago

0.7.0

2 years ago

0.6.2

2 years ago

0.5.5

3 years ago

0.6.0

3 years ago

0.5.4

3 years ago

0.5.3

3 years ago

0.5.0

3 years ago

0.5.2

3 years ago

0.5.1

3 years ago

0.4.9

3 years ago

0.4.8

3 years ago

0.4.5

3 years ago

0.4.4

3 years ago

0.4.7

3 years ago

0.4.6

3 years ago

0.4.3

3 years ago

0.4.1

3 years ago

0.4.2

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago