szdl-ui-kit
TypeScript icon, indicating that this package has built-in type declarations

0.0.26 • Public • Published

UI-KIT:

Подключение и использование

Библиотека компонентов уже содержится в package.json, но при желании её установить:

npm i szdl-ui-kit

Чтобы начать использовать нужно:

Подключить стили в рут файле приложения

import 'szdl-ui-kit/style.css';

Импортировать библиотеку в нужный VUE компонент

import { mobileKit } from 'szdl-ui-kit';
const { AlertLine, ChecklineCounter, DownButton, MobNavbar, NotDataLine } = mobileKit;

И добавить в список используемых компонентов

export default {
	name: 'group-select-view-type',

	props: ['title', 'btnText', 'btnCountLabel', 'companyCountLabel', 'contactCountLabel'],

	components: {
		DownButton, MobNavbar,
		NotDataLine,
		AlertLine,
		ChecklineCounter,
	},

	data() {
		return {

		};
	},
}

Список компонентов

const mobileKit = {
	CustomCheckbox,
	Counter,
	DownButton,
	MobNavbar,
	Loader,

	AlertLine,
	AlertLineCounter,
	NotDataLine,
	ChecklineCounter,
	ChecklineGroup,
	ChecklineLink,
}

Readme

Keywords

Package Sidebar

Install

npm i szdl-ui-kit

Weekly Downloads

2

Version

0.0.26

License

BSD

Unpacked Size

141 kB

Total Files

6

Last publish

Collaborators

  • szdlcompany