~handlerug/univol

1e8f78b32a326f250ee51713c33dd3764e274a95 — handlerug 4 years ago 30ace43
Update README.md
1 files changed, 3 insertions(+), 35 deletions(-)

M README.md
M README.md => README.md +3 -35
@@ 1,39 1,13 @@
<div align="center">
  <a href="https://github.com/VKCOM">
    <img width="100" height="100" src="https://avatars3.githubusercontent.com/u/1478241?s=200&v=4">
  <a href="https://vk.com/app7133164">
    <img width="100" height="100" src="https://sun9-39.userapi.com/c858228/v858228130/72e23/AHN6HPClYkg.jpg">
  </a>
  <br>
  <br>

  [![npm][npm]][npm-url]
  [![deps][deps]][deps-url]

</div>

# VK Mini Apps: @vkontakte/create-vk-mini-app

## How to install

### Create VK Mini App with gh-pages deploy

`npx @vkontakte/create-vk-mini-app <app-directory-name>`

### Create VK Mini App with Zeit deploy

Firstly, you have to create Zeit account and connect it with your GitHub profile — https://zeit.co/

`npx @vkontakte/create-vk-mini-app <app-directory-name> --zeit`

### Create VK Mini App with Surge deploy

Firstly, you have to create Surge account and Surge-domain — https://surge.sh/

`npx @vkontakte/create-vk-mini-app <app-directory-name> --surge <surge-domain>`

## Use Connect lib based on promise
Just add `--promise` flag. More info about **vkui-connect-promise** — https://www.npmjs.com/package/@vkontakte/vkui-connect-promise

`npx @vkontakte/create-vk-mini-app <app-directory-name> --promise`
# UNIVOL VK Mini App

## How to start work with app



@@ 41,9 15,3 @@ Go to created folder and run:
`yarn start` || `npm start` — this will start dev server with hot reload on `localhost:10888`.

`yarn run build` || `npm run build` — this will build production bundle, with tree-shaking, uglify and all this modern fancy stuff

[npm]: https://img.shields.io/npm/v/@vkontakte/create-vk-mini-app.svg
[npm-url]: https://npmjs.com/package/@vkontakte/create-vk-mini-app

[deps]: https://img.shields.io/david/vkcom/create-vk-mini-app.svg
[deps-url]: https://david-dm.org/vkcom/create-vk-mini-app
\ No newline at end of file