npx @vkontakte/create-vk-mini-app <app-directory-name>
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
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>
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