Skip to content

Igralino/SummerCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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-promisehttps://www.npmjs.com/package/@vkontakte/vkui-connect-promise

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

How to start work with app

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published