Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesytim committed Nov 26, 2020
1 parent 1ae55cf commit b5a93dd
Showing 1 changed file with 59 additions and 8 deletions.
67 changes: 59 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,47 @@
# design-system
# Qui 🥷
A Vue.js UI Toolkit for Web.

## run sandbox (run here)
What is it?
- 30+ Vue components
- icons pack
- colors & grid
- neumorphism styles
- storybook sandbox

## Install

```bash
yarn storybook
npm run storybook
npm install @qvant/qui -S
yarn add @qvant/qui
```

## install to project (run from project)
## Quick setup

```js
import Vue from 'vue';
import {
QButton,
QCheckbox
...
} from '@qvant/qui/src/qComponents';

Vue.use(QButton);
Vue.use(QCheckbox);
...

// some components are required dynamic z-index, let's define it
let zIndex = 2000;
Vue.prototype.$Q = {};

// if you want use modals inside your components as property of 'this'
Vue.prototype.$message = QMessageBox.bind(Vue);
Vue.prototype.$dialog = QDialog.bind(Vue);
Vue.prototype.$notify = options =>
QNotification({
duration: 3000, // - ms
...options
});

```bash
yarn add @qvant/qui
```

## Import into Scss
Expand Down Expand Up @@ -59,7 +90,7 @@ import all styles
@import '~@qvant/qui/src/qComponents/QUpload/src/q-upload.scss';
```

### Fonts
## fonts

need to set the path for files with statics

Expand All @@ -70,3 +101,23 @@ $--base-path: '~@qvant/qui/src';
@import '~@qvant/qui/src/icons/index.scss';
@import '~@qvant/qui/src/qStyles/transition.scss';
```

## Run storybook

```bash
yarn storybook
npm run storybook
```

## Browser Support
Modern browsers are recomended
- safari: >11
- chrome: >=61
- firefox: >=58
- opera: >=62
- edge: >=16
- yandex: >=18
- ie: ? (we don't know :) and will not support it)

## LICENSE
MIT

0 comments on commit b5a93dd

Please sign in to comment.