{"id":340231,"date":"2022-10-25T15:01:02","date_gmt":"2022-10-25T15:01:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=340231"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=340231","title":{"rendered":"<span>\u00ab\u0420\u0430\u0431\u043e\u0447\u0438\u0435 \u043c\u0435\u0441\u0442\u0430\u00bb \u0434\u043b\u044f \u0446\u0438\u0444\u0440\u043e\u0432\u044b\u0445 \u043a\u043e\u0447\u0435\u0432\u043d\u0438\u043a\u043e\u0432: \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0444\u0440\u043e\u043d\u0442\u044d\u043d\u0434\u0430<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/0ea\/36c\/36b\/0ea36c36b802c97de802cf741522a4b3.jpg\" alt=\"\u041a\u0430\u0440\u0442\u0430 \u041a\u0438\u043f\u0440\u0430 \u0441 &quot;\u0440\u0430\u0431\u043e\u0447\u0438\u043c\u0438 \u043c\u0435\u0441\u0442\u0430\u043c\u0438&quot; \u0434\u043b\u044f \u0446\u0438\u0444\u0440\u043e\u0432\u044b\u0445 \u043a\u043e\u0447\u0435\u0432\u043d\u0438\u043a\u043e\u0432\" title=\"\u041a\u0430\u0440\u0442\u0430 \u041a\u0438\u043f\u0440\u0430 \u0441 &quot;\u0440\u0430\u0431\u043e\u0447\u0438\u043c\u0438 \u043c\u0435\u0441\u0442\u0430\u043c\u0438&quot; \u0434\u043b\u044f \u0446\u0438\u0444\u0440\u043e\u0432\u044b\u0445 \u043a\u043e\u0447\u0435\u0432\u043d\u0438\u043a\u043e\u0432\" width=\"1817\" height=\"1010\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/0ea\/36c\/36b\/0ea36c36b802c97de802cf741522a4b3.jpg\" data-blurred=\"true\"\/><figcaption>\u041a\u0430\u0440\u0442\u0430 \u041a\u0438\u043f\u0440\u0430 \u0441 &#171;\u0440\u0430\u0431\u043e\u0447\u0438\u043c\u0438 \u043c\u0435\u0441\u0442\u0430\u043c\u0438&#187; \u0434\u043b\u044f \u0446\u0438\u0444\u0440\u043e\u0432\u044b\u0445 \u043a\u043e\u0447\u0435\u0432\u043d\u0438\u043a\u043e\u0432<\/figcaption><\/figure>\n<p>\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430 \u043f\u0440\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0443 pet-\u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043e \u043a\u0430\u0444\u0435 \u0438 \u043a\u043e\u0432\u043e\u0440\u043a\u0438\u043d\u0433\u0430\u0445 \u043d\u0430 \u0441\u043e\u043b\u043d\u0435\u0447\u043d\u043e\u043c \u041a\u0438\u043f\u0440\u0435.  \u00ab\u0420\u0430\u0431\u043e\u0447\u0438\u0435 \u043c\u0435\u0441\u0442\u0430\u00bb \u0434\u043b\u044f \u0446\u0438\u0444\u0440\u043e\u0432\u044b\u0445 \u043a\u043e\u0447\u0435\u0432\u043d\u0438\u043a\u043e\u0432 \u30fd(\u3002_\u00b0)\u30ce<\/p>\n<p>\u0412 <a href=\"https:\/\/habr.com\/ru\/post\/694142\/\" rel=\"noopener noreferrer nofollow\">\u043f\u0435\u0440\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438<\/a> \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u043b \u043f\u0440\u043e REST API \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441, \u0442\u0435\u043f\u0435\u0440\u044c &#8212; \u043f\u0440\u043e \u0444\u0440\u043e\u043d\u0442\u044d\u043d\u0434-\u0441\u0430\u0439\u0442.<\/p>\n<p>\u0412\u0441\u0451 \u0443\u0434\u0430\u043b\u043e\u0441\u044c, <a href=\"https:\/\/github.com\/workplacescy\" rel=\"noopener noreferrer nofollow\">\u043a\u043e\u0434 \u043f\u0440\u043e\u0435\u043a\u0442\u0430<\/a> \u043e\u0442\u043a\u0440\u044b\u0442, \u0432\u0435\u043b\u043a\u0430\u043c \u0432 \u043f\u0443\u043b-\u0440\u0435\u043a\u0432\u0435\u0441\u0442\u044b. \u0410\u0434\u0440\u0435\u0441 \u0441\u0430\u0439\u0442\u0430 &#8212; \u0432 \u043a\u043e\u043d\u0446\u0435 \u0441\u0442\u0430\u0442\u044c\u0438, \u0447\u0442\u043e\u0431\u044b \u043c\u0435\u043d\u044c\u0448\u0435 \u043f\u043e\u0445\u043e\u0434\u0438\u043b\u043e \u043d\u0430 \u0440\u0435\u043a\u043b\u0430\u043c\u0443.<\/p>\n<h3>\u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430<\/h3>\n<p>\u0421\u0430\u0439\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d \u0432 \u0432\u0438\u0434\u0435 PWA \u043d\u0430 <a href=\"https:\/\/vuejs.org\/api\/sfc-script-setup.html\" rel=\"noopener noreferrer nofollow\">Vue 3 Composition API<\/a> \u0438 UI-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0435 <a href=\"https:\/\/next.vuetifyjs.com\/en\/\" rel=\"noopener noreferrer nofollow\">Vuetify<\/a>. \u041e\u0431\u0430 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430 \u0445\u043e\u0440\u043e\u0448\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0442 \u0434\u043b\u044f \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e \u0441\u0442\u0430\u0440\u0442\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0441 \u043d\u0443\u043b\u044f \u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442 \u043c\u0435\u043d\u044c\u0448\u0435 \u0438\u0437\u0431\u044b\u0442\u043e\u0447\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430, \u043d\u0435\u0436\u0435\u043b\u0438 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 \u0432\u0435\u0440\u0441\u0438\u0438.<\/p>\n<p>\u041e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0441\u0430\u0439\u0442\u0430 &#8212; \u044d\u0442\u043e \u043a\u0430\u0440\u0442\u0430 Google Maps \u0432 always free tier, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0432\u044b\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 REST API \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u0430, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u0430\u043d\u0435\u043b\u044c \u0441 \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u043c\u0438 \u0438 \u0441\u043f\u0438\u0441\u043a\u043e\u043c &#171;\u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u043c\u0435\u0441\u0442&#187;.<\/p>\n<p>&#171;\u0412\u0445\u043e\u0434\u043d\u043e\u0439&#187; \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/src\/components\/Home.vue\" rel=\"noopener noreferrer nofollow\">src\/components\/Home.vue<\/a>:<\/p>\n<ul>\n<li>\n<p>\u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432 \u0434\u043b\u044f \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0439 \u0438 \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438;<\/p>\n<\/li>\n<li>\n<p>\u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0438\u0437 API, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0438\u0437 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/src\/composable\/api.js\" rel=\"noopener noreferrer nofollow\">src\/composable\/api.js<\/a>;<\/p>\n<\/li>\n<li>\n<p>\u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0438\u0445 computed \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u043c\u0438 \u0438\u0437 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/src\/components\/Filters.vue\" rel=\"noopener noreferrer nofollow\">src\/components\/Filters.vue<\/a>;<\/p>\n<\/li>\n<li>\n<p>\u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442 \u043e\u0442\u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/src\/components\/Places.vue\" rel=\"noopener noreferrer nofollow\">src\/components\/Places.vue<\/a> \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0441\u043f\u0438\u0441\u043a\u0430 \u043c\u0435\u0441\u0442;<\/p>\n<\/li>\n<li>\n<p>\u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0443 404;<\/p>\n<\/li>\n<li>\n<p>\u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u043c\u0435\u0442\u0430-\u0442\u0435\u0433\u0438 \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/src\/components\/PlaceHead.vue\" rel=\"noopener noreferrer nofollow\">src\/components\/PlaceHead.vue<\/a>.<\/p>\n<\/li>\n<\/ul>\n<p>\u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0438 &#171;\u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u043c\u0435\u0441\u0442\u0430&#187; \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u043d\u0435\u0442, \u043f\u043e\u043a\u0430 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0440\u043e\u043a\u0440\u0443\u0442\u043a\u0438 \u0441\u043f\u0438\u0441\u043a\u0430 \u043c\u0435\u0441\u0442 \u043a \u043d\u0443\u0436\u043d\u043e\u043c\u0443 \u043c\u0435\u0441\u0442\u0443:<\/p>\n<pre><code class=\"javascript\">watch(     () => props.selectedPlaceId,     id => {       scrollToPlace(id)     } )<\/code><\/pre>\n<p>\u0424\u0438\u043b\u044c\u0442\u0440\u044b &#171;\u0437\u0430\u0448\u0438\u0442\u044b&#187; \u0432 \u043a\u043e\u0434 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/src\/components\/Filters.vue\" rel=\"noopener noreferrer nofollow\">src\/components\/Filters.vue<\/a> \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u0442\u0438\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b \u0434\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u043e\u0433\u043e \u0432\u0438\u0434\u0430.<\/p>\n<p>\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043c\u0435\u0442\u0430-\u0442\u0435\u0433\u0430\u043c\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u0430\u043a\u0435\u0442 <a href=\"https:\/\/github.com\/vueuse\/head\" rel=\"noopener noreferrer nofollow\">vueuse\/head<\/a>.<\/p>\n<p>\u0414\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043a\u0430\u0440\u0442\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 <a href=\"https:\/\/github.com\/fawmi\/vue-google-maps\" rel=\"noopener noreferrer nofollow\">fawmi\/vue-google-maps<\/a> \u0432\u0435\u0440\u0441\u0438\u0438 0.9.72. \u0412 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0432\u0435\u0440\u0441\u0438\u044f\u0445 \u0430\u0432\u0442\u043e\u0440 \u043f\u043e\u043b\u043e\u043c\u0430\u043b \u043a\u0430\u0440\u0442\u0443 \u0438 \u043d\u0435 \u0432\u044b\u043b\u043e\u0436\u0438\u043b \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u043d\u0430 GitHub (\u043e\u0434\u043d\u0430\u043a\u043e \u044d\u0442\u0438 \u0432\u0435\u0440\u0441\u0438\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0447\u0435\u0440\u0435\u0437 npm).<\/p>\n<p>\u0422\u0430\u043a\u0436\u0435 \u043d\u0430 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/blob\/develop\/src\/components\/Map.vue\" rel=\"noopener noreferrer nofollow\">\u043a\u0430\u0440\u0442\u0435<\/a> \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c \u0441\u0432\u043e\u0451 \u043c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0438\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u043c\u0435\u0441\u0442\u0430.<\/p>\n<p>\u0411\u043e\u043b\u044c\u0448\u0438\u0435 \u0438 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0435 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0438 \u043c\u0435\u0441\u0442 \u0432\u044b\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u043a\u0430\u0440\u0443\u0441\u0435\u043b\u044c\u044e \u0447\u0435\u0440\u0435\u0437 <a href=\"https:\/\/swiperjs.com\/vue\" rel=\"noopener noreferrer nofollow\">swiper\/vue<\/a> \u0438 \u043f\u0430\u0440\u0443 \u0441\u0432\u043e\u0438\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432.<\/p>\n<p>\u0413\u0440\u0430\u0434\u0438\u0435\u043d\u0442\u043d\u044b\u0439 \u0446\u0432\u0435\u0442\u043d\u043e\u0439 \u0440\u0435\u0439\u0442\u0438\u043d\u0433 \u043c\u0435\u0441\u0442 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u043c\u0435\u0442\u043e\u0434\u043e\u043c \u0432 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/src\/composable\/colors.js\" rel=\"noopener noreferrer nofollow\">src\/composable\/colors.js<\/a> \u0432 \u0446\u0432\u0435\u0442\u043e\u0432\u043e\u043c \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435 hsl. \u0412 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0440\u0435\u0439\u0442\u0438\u043d\u0433\u0430, \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e hue, a saturation \u0438 lightness &#8212; \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u044b.<\/p>\n<p>\u0414\u043b\u044f \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 \u043d\u0435\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u0435\u0439 \u043d\u0430 \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0430\u0445 \u043c\u0435\u0441\u0442 \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0430 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/src\/components\/ComplainButton.vue\" rel=\"noopener noreferrer nofollow\">Complain<\/a> &#8212; \u0432\u0441\u0451 \u043f\u043e-\u0441\u0435\u0440\u044c\u0451\u0437\u043d\u043e\u043c\u0443 \ud83d\ude42<\/p>\n<p>\u041f\u0440\u043e\u0441\u0442\u043e\u0439 \u0440\u043e\u0443\u0442\u0435\u0440 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/src\/router\/index.js\" rel=\"noopener noreferrer nofollow\">src\/router\/index.js<\/a> \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 <a href=\"https:\/\/v3.router.vuejs.org\/\" rel=\"noopener noreferrer nofollow\">vue-router<\/a> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u043e\u043a\u0430 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c store (\u043f\u0440\u0438 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430) \u0438 \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0432 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0435 404 \u043e\u0448\u0438\u0431\u043e\u043a.<\/p>\n<p>\u0411\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u044e\u0442\u0441\u044f \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438 \u0434\u043b\u044f \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <code>const Navigation = defineAsyncComponent(() => import(\".\/Navigation.vue\"))<\/code><\/p>\n<p>\u0427\u0430\u0441\u0442\u044c \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u0437\u0430\u0432\u0451\u0440\u043d\u0443\u0442\u0430 \u0432  <a href=\"https:\/\/vuejs.org\/guide\/built-ins\/keep-alive.html\" rel=\"noopener noreferrer nofollow\">&lt;KeepAlive><\/a> \u0434\u043b\u044f \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u043f\u0440\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0438\/\u0437\u0430\u043a\u0440\u044b\u0442\u0438\u0438 \u043f\u0430\u043d\u0435\u043b\u0438. \u041e\u0434\u043d\u0430\u043a\u043e \u043f\u043e\u0434\u0440\u0443\u0436\u0438\u0442\u044c \u0438\u0445 \u0441 <a href=\"https:\/\/vuejs.org\/guide\/built-ins\/suspense.html\" rel=\"noopener noreferrer nofollow\">Suspense<\/a> \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0437\u0430\u0433\u043b\u0443\u0448\u0435\u043a \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \ud83d\ude41<\/p>\n<p>\u0412\u043c\u0435\u0441\u0442\u043e \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0445 \u0448\u0440\u0438\u0444\u0442\u043e\u0432\u044b\u0445 \u0438\u043a\u043e\u043d\u043e\u043a \u0432 Vuetify, \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0438\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u044c\u043d\u043e \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c\u044b\u0435 svg-\u0438\u043a\u043e\u043d\u043a\u0438 \u0438\u0437 \u043f\u0430\u043a\u0435\u0442\u0430 mdi\/js \u043e\u0442 <a href=\"https:\/\/materialdesignicons.com\" rel=\"noopener noreferrer nofollow\">https:\/\/materialdesignicons.com<\/a>. \u042d\u043a\u043e\u043d\u043e\u043c\u0438\u044f \u043e\u043a\u043e\u043b\u043e 1 \u041c\u0431 \u0432 \u0444\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u043c \u0431\u0430\u043d\u0434\u043b\u0435.<\/p>\n<p>\u0414\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f <a href=\"https:\/\/vitejs.dev\/\" rel=\"noopener noreferrer nofollow\">Vite<\/a> \u0438 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043c\u0430\u0433\u0438\u0438 \u0432 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/vite.config.js\" rel=\"noopener noreferrer nofollow\">vite.config.js<\/a> \u0434\u043b\u044f \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u0438\u0442\u043e\u0433\u043e\u0432\u043e\u0433\u043e \u043a\u043e\u0434\u0430: \u043c\u0438\u043d\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 CSS \u0438 HTML, \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043e\u0431\u043b\u0435\u0433\u0447\u0451\u043d\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 Sentry.<\/p>\n<p>PWA \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c <a href=\"https:\/\/github.com\/vite-pwa\/vite-plugin-pwa\" rel=\"noopener noreferrer nofollow\">vite-pwa\/vite-plugin-pwa<\/a>, \u0430 \u0435\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0442\u0430\u043a\u0436\u0435 \u0437\u0430\u0434\u0430\u044e\u0442\u0441\u044f \u0432 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/vite.config.js\" rel=\"noopener noreferrer nofollow\">vite.config.js<\/a>. \u0412 \u0446\u0435\u043b\u043e\u043c, \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f PWA \u043d\u0435 \u0431\u044b\u043b\u0430 \u0441\u0430\u043c\u043e\u0446\u0435\u043b\u044c\u044e \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u043d\u043e \u0441 \u0435\u0451 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0445\u043e\u0440\u043e\u0448\u0435\u0435 \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432\u0441\u0435\u0445 \u0447\u0430\u0441\u0442\u0435\u0439 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e\u0435 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0435 \u0441\u0430\u0439\u0442\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u043e\u0447\u0435\u043d\u044c \u0431\u044b\u0441\u0442\u0440\u044b\u043c.<\/p>\n<h4>\u041f\u0440\u043e Vuetify<\/h4>\n<p>\u0412 \u0446\u0435\u043b\u043e\u043c, Vuetify \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u0441\u044f \u0431\u043e\u043b\u044c\u0448\u0435, \u0447\u0435\u043c Quazar <a href=\"https:\/\/quasar.dev\/\" rel=\"noopener noreferrer nofollow\">https:\/\/quasar.dev\/<\/a> \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 UI-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0438. \u041d\u043e \u0443 \u043d\u0435\u0433\u043e \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0438 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0438:<\/p>\n<ul>\n<li>\n<p>\u0421\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0442\u043e\u043d\u043a\u043e\u0439 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432. Vuetify \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043d \u043d\u0430 Material Design \u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u0430\u043a \u0443\u0431\u0440\u0430\u0442\u044c \u043e\u0442\u0441\u0442\u0443\u043f\u044b \u043c\u0435\u0436\u0434\u0443 \u0447\u0435\u043a\u0431\u043e\u043a\u0441\u0430\u043c\u0438 \u0438\u043b\u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0435 \u043a\u043d\u043e\u043f\u043a\u0438 \u043c\u0435\u043d\u044c\u0448\u0435 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c, \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f. \u0412 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <a href=\"https:\/\/vuejs.org\/api\/sfc-css-features.html#scoped-css\" rel=\"noopener noreferrer nofollow\">:deep<\/a> \u0438\u043b\u0438 \u0437\u0430\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0442\u044c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0432 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 div&#8217;\u044b, \u0447\u0442\u043e \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043a \u0441\u043d\u0438\u0436\u0435\u043d\u0438\u044e \u043e\u0446\u0435\u043d\u043a\u0438 Google PageSpeed \u0438\u0437-\u0437\u0430 \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0433\u043b\u0443\u0431\u0438\u043d\u044b DOM.<\/p>\n<\/li>\n<li>\n<p>\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043d\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u0441\u0442\u0438\u043b\u0438. \u0421\u0431\u043e\u0440\u043a\u0443 \u043c\u043e\u0436\u043d\u043e \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448\u043e \u043e\u0431\u043b\u0435\u0433\u0447\u0438\u0442\u044c, <a href=\"https:\/\/next.vuetifyjs.com\/en\/features\/treeshaking\/#manual-imports\" rel=\"noopener noreferrer nofollow\">\u0438\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u044c\u043d\u043e \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u044f \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b<\/a> \u0438 <a href=\"https:\/\/next.vuetifyjs.com\/en\/features\/sass-variables\/\" rel=\"noopener noreferrer nofollow\">\u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u044f \u0441\u0442\u0438\u043b\u0438 \u0432 SASS<\/a>, \u043d\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u043e\u0431\u0449\u0438\u0445 \u043d\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0445 \u0441\u0442\u0438\u043b\u0435\u0439 \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 <a href=\"https:\/\/purgecss.com\/\" rel=\"noopener noreferrer nofollow\">PurgeCSS<\/a> \u0438 \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432 \u0438\u0437-\u0437\u0430 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0439 \u043a\u043b\u0430\u0441\u0441\u043e\u0432.<\/p>\n<\/li>\n<li>\n<p>\u041c\u0430\u043b\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u0445, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 <a href=\"https:\/\/next.vuetifyjs.com\/en\/components\/carousels\/\" rel=\"noopener noreferrer nofollow\">\u0441\u043b\u0430\u0439\u0434\u0435\u0440\u0435<\/a>.<\/p>\n<\/li>\n<\/ul>\n<p>\u041d\u043e, \u043f\u043e\u0432\u0442\u043e\u0440\u044e\u0441\u044c, \u044d\u0442\u043e\u0442 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0445\u043e\u0440\u043e\u0448 \u0434\u043b\u044f \u043c\u043d\u043e\u0433\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432.<\/p>\n<h3>\u0414\u0435\u043f\u043b\u043e\u0439<\/h3>\n<p>\u0422\u0430 \u0436\u0435 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430 <a href=\"http:\/\/Fly.io\" rel=\"noopener noreferrer nofollow\">Fly.io<\/a> \u0441 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c\u044b\u043c\u0438 microVM Firecracker. \u0422\u0443\u0442 \u0432\u0441\u0451 \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u043f\u0440\u043e\u0449\u0435, \u0447\u0435\u043c \u043f\u0440\u0438 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u0438 API \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0438 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/Dockerfile\" rel=\"noopener noreferrer nofollow\">Dockerfile&#8217;\u0430<\/a> \u0438\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0441\u0442\u0440\u043e\u043a \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432 \u0432 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/docker\/config\/headerConfig.json\" rel=\"noopener noreferrer nofollow\">config\/headerConfig.json<\/a>:<\/p>\n<pre><code class=\"bash\">FROM pierrezemb\/gostatic COPY docker\/config\/headerConfig.json \/config\/ COPY dist\/ \/srv\/http\/ ENTRYPOINT [\"\/goStatic\", \"-fallback\", \"\/index.html\"]<\/code><\/pre>\n<h3>CI\/CD<\/h3>\n<p>\u0422\u0443\u0442 \u0447\u0443\u0442\u044c \u0441\u043b\u043e\u0436\u043d\u0435\u0435: \u0441\u043d\u0430\u0447\u0430\u043b\u0430 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/.github\/workflows\/build.yml\" rel=\"noopener noreferrer nofollow\">Github Action<\/a> \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u0431\u0438\u043b\u0434 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 Vite, \u0430 \u0437\u0430\u0442\u0435\u043c flyctl \u0434\u0435\u043b\u0430\u0435\u0442 \u0438\u0437 \u043d\u0435\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0438 \u0434\u0435\u043f\u043b\u043e\u0438\u0442 \u043d\u0430 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u043d vm. \u0412\u0441\u0435 \u0441\u0435\u043a\u0440\u0435\u0442\u044b \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0432 GitHub production environment.<\/p>\n<h3>\u041c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433<\/h3>\n<p>\u0422\u043e\u0442 \u0436\u0435 <a href=\"https:\/\/sentry.io\/\" rel=\"noopener noreferrer nofollow\">Sentry<\/a> \u0438 <a href=\"https:\/\/www.honeybadger.io\/\" rel=\"noopener noreferrer nofollow\">Honeybadger<\/a>.<\/p>\n<p><strong>\u041d\u0430 \u044d\u0442\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u0441\u0430\u0439\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0440\u0430\u0437\u043c\u0435\u0449\u0451\u043d \u0432 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u043d-\u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0438 \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432\u0441\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c. \u041f\u0440\u043e\u0435\u043a\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d \ud83d\ude42<\/strong><\/p>\n<p>\u0420\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 <a href=\"https:\/\/github.com\/workplacescy\/frontend\" rel=\"noopener noreferrer nofollow\">\u0444\u0440\u043e\u043d\u0442\u044d\u043d\u0434\u0430<\/a>, \u0441\u0430\u0439\u0442 <a href=\"https:\/\/workplaces.cy\/\" rel=\"noopener noreferrer nofollow\">https:\/\/workplaces.cy\/<\/a><\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/695200\/\"> https:\/\/habr.com\/ru\/post\/695200\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\"><figcaption>\u041a\u0430\u0440\u0442\u0430 \u041a\u0438\u043f\u0440\u0430 \u0441 &#171;\u0440\u0430\u0431\u043e\u0447\u0438\u043c\u0438 \u043c\u0435\u0441\u0442\u0430\u043c\u0438&#187; \u0434\u043b\u044f \u0446\u0438\u0444\u0440\u043e\u0432\u044b\u0445 \u043a\u043e\u0447\u0435\u0432\u043d\u0438\u043a\u043e\u0432<\/figcaption><\/figure>\n<p>\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430 \u043f\u0440\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0443 pet-\u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043e \u043a\u0430\u0444\u0435 \u0438 \u043a\u043e\u0432\u043e\u0440\u043a\u0438\u043d\u0433\u0430\u0445 \u043d\u0430 \u0441\u043e\u043b\u043d\u0435\u0447\u043d\u043e\u043c \u041a\u0438\u043f\u0440\u0435.  \u00ab\u0420\u0430\u0431\u043e\u0447\u0438\u0435 \u043c\u0435\u0441\u0442\u0430\u00bb \u0434\u043b\u044f \u0446\u0438\u0444\u0440\u043e\u0432\u044b\u0445 \u043a\u043e\u0447\u0435\u0432\u043d\u0438\u043a\u043e\u0432 \u30fd(\u3002_\u00b0)\u30ce<\/p>\n<p>\u0412 <a href=\"https:\/\/habr.com\/ru\/post\/694142\/\" rel=\"noopener noreferrer nofollow\">\u043f\u0435\u0440\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438<\/a> \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u043b \u043f\u0440\u043e REST API \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441, \u0442\u0435\u043f\u0435\u0440\u044c &#8212; \u043f\u0440\u043e \u0444\u0440\u043e\u043d\u0442\u044d\u043d\u0434-\u0441\u0430\u0439\u0442.<\/p>\n<p>\u0412\u0441\u0451 \u0443\u0434\u0430\u043b\u043e\u0441\u044c, <a href=\"https:\/\/github.com\/workplacescy\" rel=\"noopener noreferrer nofollow\">\u043a\u043e\u0434 \u043f\u0440\u043e\u0435\u043a\u0442\u0430<\/a> \u043e\u0442\u043a\u0440\u044b\u0442, \u0432\u0435\u043b\u043a\u0430\u043c \u0432 \u043f\u0443\u043b-\u0440\u0435\u043a\u0432\u0435\u0441\u0442\u044b. \u0410\u0434\u0440\u0435\u0441 \u0441\u0430\u0439\u0442\u0430 &#8212; \u0432 \u043a\u043e\u043d\u0446\u0435 \u0441\u0442\u0430\u0442\u044c\u0438, \u0447\u0442\u043e\u0431\u044b \u043c\u0435\u043d\u044c\u0448\u0435 \u043f\u043e\u0445\u043e\u0434\u0438\u043b\u043e \u043d\u0430 \u0440\u0435\u043a\u043b\u0430\u043c\u0443.<\/p>\n<h3>\u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430<\/h3>\n<p>\u0421\u0430\u0439\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d \u0432 \u0432\u0438\u0434\u0435 PWA \u043d\u0430 <a href=\"https:\/\/vuejs.org\/api\/sfc-script-setup.html\" rel=\"noopener noreferrer nofollow\">Vue 3 Composition API<\/a> \u0438 UI-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0435 <a href=\"https:\/\/next.vuetifyjs.com\/en\/\" rel=\"noopener noreferrer nofollow\">Vuetify<\/a>. \u041e\u0431\u0430 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430 \u0445\u043e\u0440\u043e\u0448\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0442 \u0434\u043b\u044f \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e \u0441\u0442\u0430\u0440\u0442\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0441 \u043d\u0443\u043b\u044f \u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442 \u043c\u0435\u043d\u044c\u0448\u0435 \u0438\u0437\u0431\u044b\u0442\u043e\u0447\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430, \u043d\u0435\u0436\u0435\u043b\u0438 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 \u0432\u0435\u0440\u0441\u0438\u0438.<\/p>\n<p>\u041e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0441\u0430\u0439\u0442\u0430 &#8212; \u044d\u0442\u043e \u043a\u0430\u0440\u0442\u0430 Google Maps \u0432 always free tier, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0432\u044b\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 REST API \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u0430, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u0430\u043d\u0435\u043b\u044c \u0441 \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u043c\u0438 \u0438 \u0441\u043f\u0438\u0441\u043a\u043e\u043c &#171;\u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u043c\u0435\u0441\u0442&#187;.<\/p>\n<p>&#171;\u0412\u0445\u043e\u0434\u043d\u043e\u0439&#187; \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/src\/components\/Home.vue\" rel=\"noopener noreferrer nofollow\">src\/components\/Home.vue<\/a>:<\/p>\n<ul>\n<li>\n<p>\u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432 \u0434\u043b\u044f \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0439 \u0438 \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438;<\/p>\n<\/li>\n<li>\n<p>\u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0438\u0437 API, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0438\u0437 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/src\/composable\/api.js\" rel=\"noopener noreferrer nofollow\">src\/composable\/api.js<\/a>;<\/p>\n<\/li>\n<li>\n<p>\u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0438\u0445 computed \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u043c\u0438 \u0438\u0437 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/src\/components\/Filters.vue\" rel=\"noopener noreferrer nofollow\">src\/components\/Filters.vue<\/a>;<\/p>\n<\/li>\n<li>\n<p>\u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442 \u043e\u0442\u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/src\/components\/Places.vue\" rel=\"noopener noreferrer nofollow\">src\/components\/Places.vue<\/a> \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0441\u043f\u0438\u0441\u043a\u0430 \u043c\u0435\u0441\u0442;<\/p>\n<\/li>\n<li>\n<p>\u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0443 404;<\/p>\n<\/li>\n<li>\n<p>\u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u043c\u0435\u0442\u0430-\u0442\u0435\u0433\u0438 \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/src\/components\/PlaceHead.vue\" rel=\"noopener noreferrer nofollow\">src\/components\/PlaceHead.vue<\/a>.<\/p>\n<\/li>\n<\/ul>\n<p>\u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0438 &#171;\u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u043c\u0435\u0441\u0442\u0430&#187; \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u043d\u0435\u0442, \u043f\u043e\u043a\u0430 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0440\u043e\u043a\u0440\u0443\u0442\u043a\u0438 \u0441\u043f\u0438\u0441\u043a\u0430 \u043c\u0435\u0441\u0442 \u043a \u043d\u0443\u0436\u043d\u043e\u043c\u0443 \u043c\u0435\u0441\u0442\u0443:<\/p>\n<pre><code class=\"javascript\">watch(     () => props.selectedPlaceId,     id => {       scrollToPlace(id)     } )<\/code><\/pre>\n<p>\u0424\u0438\u043b\u044c\u0442\u0440\u044b &#171;\u0437\u0430\u0448\u0438\u0442\u044b&#187; \u0432 \u043a\u043e\u0434 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/src\/components\/Filters.vue\" rel=\"noopener noreferrer nofollow\">src\/components\/Filters.vue<\/a> \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u0442\u0438\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b \u0434\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u043e\u0433\u043e \u0432\u0438\u0434\u0430.<\/p>\n<p>\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043c\u0435\u0442\u0430-\u0442\u0435\u0433\u0430\u043c\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u0430\u043a\u0435\u0442 <a href=\"https:\/\/github.com\/vueuse\/head\" rel=\"noopener noreferrer nofollow\">vueuse\/head<\/a>.<\/p>\n<p>\u0414\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043a\u0430\u0440\u0442\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 <a href=\"https:\/\/github.com\/fawmi\/vue-google-maps\" rel=\"noopener noreferrer nofollow\">fawmi\/vue-google-maps<\/a> \u0432\u0435\u0440\u0441\u0438\u0438 0.9.72. \u0412 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0432\u0435\u0440\u0441\u0438\u044f\u0445 \u0430\u0432\u0442\u043e\u0440 \u043f\u043e\u043b\u043e\u043c\u0430\u043b \u043a\u0430\u0440\u0442\u0443 \u0438 \u043d\u0435 \u0432\u044b\u043b\u043e\u0436\u0438\u043b \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u043d\u0430 GitHub (\u043e\u0434\u043d\u0430\u043a\u043e \u044d\u0442\u0438 \u0432\u0435\u0440\u0441\u0438\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0447\u0435\u0440\u0435\u0437 npm).<\/p>\n<p>\u0422\u0430\u043a\u0436\u0435 \u043d\u0430 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/blob\/develop\/src\/components\/Map.vue\" rel=\"noopener noreferrer nofollow\">\u043a\u0430\u0440\u0442\u0435<\/a> \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c \u0441\u0432\u043e\u0451 \u043c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0438\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u043c\u0435\u0441\u0442\u0430.<\/p>\n<p>\u0411\u043e\u043b\u044c\u0448\u0438\u0435 \u0438 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0435 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0438 \u043c\u0435\u0441\u0442 \u0432\u044b\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u043a\u0430\u0440\u0443\u0441\u0435\u043b\u044c\u044e \u0447\u0435\u0440\u0435\u0437 <a href=\"https:\/\/swiperjs.com\/vue\" rel=\"noopener noreferrer nofollow\">swiper\/vue<\/a> \u0438 \u043f\u0430\u0440\u0443 \u0441\u0432\u043e\u0438\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432.<\/p>\n<p>\u0413\u0440\u0430\u0434\u0438\u0435\u043d\u0442\u043d\u044b\u0439 \u0446\u0432\u0435\u0442\u043d\u043e\u0439 \u0440\u0435\u0439\u0442\u0438\u043d\u0433 \u043c\u0435\u0441\u0442 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u043c\u0435\u0442\u043e\u0434\u043e\u043c \u0432 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/src\/composable\/colors.js\" rel=\"noopener noreferrer nofollow\">src\/composable\/colors.js<\/a> \u0432 \u0446\u0432\u0435\u0442\u043e\u0432\u043e\u043c \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435 hsl. \u0412 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0440\u0435\u0439\u0442\u0438\u043d\u0433\u0430, \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e hue, a saturation \u0438 lightness &#8212; \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u044b.<\/p>\n<p>\u0414\u043b\u044f \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 \u043d\u0435\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u0435\u0439 \u043d\u0430 \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0430\u0445 \u043c\u0435\u0441\u0442 \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0430 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/src\/components\/ComplainButton.vue\" rel=\"noopener noreferrer nofollow\">Complain<\/a> &#8212; \u0432\u0441\u0451 \u043f\u043e-\u0441\u0435\u0440\u044c\u0451\u0437\u043d\u043e\u043c\u0443 \ud83d\ude42<\/p>\n<p>\u041f\u0440\u043e\u0441\u0442\u043e\u0439 \u0440\u043e\u0443\u0442\u0435\u0440 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/src\/router\/index.js\" rel=\"noopener noreferrer nofollow\">src\/router\/index.js<\/a> \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 <a href=\"https:\/\/v3.router.vuejs.org\/\" rel=\"noopener noreferrer nofollow\">vue-router<\/a> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u043e\u043a\u0430 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c store (\u043f\u0440\u0438 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430) \u0438 \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0432 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0435 404 \u043e\u0448\u0438\u0431\u043e\u043a.<\/p>\n<p>\u0411\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u044e\u0442\u0441\u044f \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438 \u0434\u043b\u044f \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <code>const Navigation = defineAsyncComponent(() => import(\".\/Navigation.vue\"))<\/code><\/p>\n<p>\u0427\u0430\u0441\u0442\u044c \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u0437\u0430\u0432\u0451\u0440\u043d\u0443\u0442\u0430 \u0432  <a href=\"https:\/\/vuejs.org\/guide\/built-ins\/keep-alive.html\" rel=\"noopener noreferrer nofollow\">&lt;KeepAlive><\/a> \u0434\u043b\u044f \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u043f\u0440\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0438\/\u0437\u0430\u043a\u0440\u044b\u0442\u0438\u0438 \u043f\u0430\u043d\u0435\u043b\u0438. \u041e\u0434\u043d\u0430\u043a\u043e \u043f\u043e\u0434\u0440\u0443\u0436\u0438\u0442\u044c \u0438\u0445 \u0441 <a href=\"https:\/\/vuejs.org\/guide\/built-ins\/suspense.html\" rel=\"noopener noreferrer nofollow\">Suspense<\/a> \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0437\u0430\u0433\u043b\u0443\u0448\u0435\u043a \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \ud83d\ude41<\/p>\n<p>\u0412\u043c\u0435\u0441\u0442\u043e \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0445 \u0448\u0440\u0438\u0444\u0442\u043e\u0432\u044b\u0445 \u0438\u043a\u043e\u043d\u043e\u043a \u0432 Vuetify, \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0438\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u044c\u043d\u043e \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c\u044b\u0435 svg-\u0438\u043a\u043e\u043d\u043a\u0438 \u0438\u0437 \u043f\u0430\u043a\u0435\u0442\u0430 mdi\/js \u043e\u0442 <a href=\"https:\/\/materialdesignicons.com\" rel=\"noopener noreferrer nofollow\">https:\/\/materialdesignicons.com<\/a>. \u042d\u043a\u043e\u043d\u043e\u043c\u0438\u044f \u043e\u043a\u043e\u043b\u043e 1 \u041c\u0431 \u0432 \u0444\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u043c \u0431\u0430\u043d\u0434\u043b\u0435.<\/p>\n<p>\u0414\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f <a href=\"https:\/\/vitejs.dev\/\" rel=\"noopener noreferrer nofollow\">Vite<\/a> \u0438 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043c\u0430\u0433\u0438\u0438 \u0432 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/vite.config.js\" rel=\"noopener noreferrer nofollow\">vite.config.js<\/a> \u0434\u043b\u044f \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u0438\u0442\u043e\u0433\u043e\u0432\u043e\u0433\u043e \u043a\u043e\u0434\u0430: \u043c\u0438\u043d\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 CSS \u0438 HTML, \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043e\u0431\u043b\u0435\u0433\u0447\u0451\u043d\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 Sentry.<\/p>\n<p>PWA \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c <a href=\"https:\/\/github.com\/vite-pwa\/vite-plugin-pwa\" rel=\"noopener noreferrer nofollow\">vite-pwa\/vite-plugin-pwa<\/a>, \u0430 \u0435\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0442\u0430\u043a\u0436\u0435 \u0437\u0430\u0434\u0430\u044e\u0442\u0441\u044f \u0432 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/vite.config.js\" rel=\"noopener noreferrer nofollow\">vite.config.js<\/a>. \u0412 \u0446\u0435\u043b\u043e\u043c, \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f PWA \u043d\u0435 \u0431\u044b\u043b\u0430 \u0441\u0430\u043c\u043e\u0446\u0435\u043b\u044c\u044e \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u043d\u043e \u0441 \u0435\u0451 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0445\u043e\u0440\u043e\u0448\u0435\u0435 \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432\u0441\u0435\u0445 \u0447\u0430\u0441\u0442\u0435\u0439 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e\u0435 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0435 \u0441\u0430\u0439\u0442\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u043e\u0447\u0435\u043d\u044c \u0431\u044b\u0441\u0442\u0440\u044b\u043c.<\/p>\n<h4>\u041f\u0440\u043e Vuetify<\/h4>\n<p>\u0412 \u0446\u0435\u043b\u043e\u043c, Vuetify \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u0441\u044f \u0431\u043e\u043b\u044c\u0448\u0435, \u0447\u0435\u043c Quazar <a href=\"https:\/\/quasar.dev\/\" rel=\"noopener noreferrer nofollow\">https:\/\/quasar.dev\/<\/a> \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 UI-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0438. \u041d\u043e \u0443 \u043d\u0435\u0433\u043e \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0438 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0438:<\/p>\n<ul>\n<li>\n<p>\u0421\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0442\u043e\u043d\u043a\u043e\u0439 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432. Vuetify \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043d \u043d\u0430 Material Design \u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u0430\u043a \u0443\u0431\u0440\u0430\u0442\u044c \u043e\u0442\u0441\u0442\u0443\u043f\u044b \u043c\u0435\u0436\u0434\u0443 \u0447\u0435\u043a\u0431\u043e\u043a\u0441\u0430\u043c\u0438 \u0438\u043b\u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0435 \u043a\u043d\u043e\u043f\u043a\u0438 \u043c\u0435\u043d\u044c\u0448\u0435 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c, \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f. \u0412 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <a href=\"https:\/\/vuejs.org\/api\/sfc-css-features.html#scoped-css\" rel=\"noopener noreferrer nofollow\">:deep<\/a> \u0438\u043b\u0438 \u0437\u0430\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0442\u044c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0432 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 div&#8217;\u044b, \u0447\u0442\u043e \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043a \u0441\u043d\u0438\u0436\u0435\u043d\u0438\u044e \u043e\u0446\u0435\u043d\u043a\u0438 Google PageSpeed \u0438\u0437-\u0437\u0430 \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0433\u043b\u0443\u0431\u0438\u043d\u044b DOM.<\/p>\n<\/li>\n<li>\n<p>\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043d\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u0441\u0442\u0438\u043b\u0438. \u0421\u0431\u043e\u0440\u043a\u0443 \u043c\u043e\u0436\u043d\u043e \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448\u043e \u043e\u0431\u043b\u0435\u0433\u0447\u0438\u0442\u044c, <a href=\"https:\/\/next.vuetifyjs.com\/en\/features\/treeshaking\/#manual-imports\" rel=\"noopener noreferrer nofollow\">\u0438\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u044c\u043d\u043e \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u044f \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b<\/a> \u0438 <a href=\"https:\/\/next.vuetifyjs.com\/en\/features\/sass-variables\/\" rel=\"noopener noreferrer nofollow\">\u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u044f \u0441\u0442\u0438\u043b\u0438 \u0432 SASS<\/a>, \u043d\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u043e\u0431\u0449\u0438\u0445 \u043d\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0445 \u0441\u0442\u0438\u043b\u0435\u0439 \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 <a href=\"https:\/\/purgecss.com\/\" rel=\"noopener noreferrer nofollow\">PurgeCSS<\/a> \u0438 \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432 \u0438\u0437-\u0437\u0430 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0439 \u043a\u043b\u0430\u0441\u0441\u043e\u0432.<\/p>\n<\/li>\n<li>\n<p>\u041c\u0430\u043b\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u0445, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 <a href=\"https:\/\/next.vuetifyjs.com\/en\/components\/carousels\/\" rel=\"noopener noreferrer nofollow\">\u0441\u043b\u0430\u0439\u0434\u0435\u0440\u0435<\/a>.<\/p>\n<\/li>\n<\/ul>\n<p>\u041d\u043e, \u043f\u043e\u0432\u0442\u043e\u0440\u044e\u0441\u044c, \u044d\u0442\u043e\u0442 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0445\u043e\u0440\u043e\u0448 \u0434\u043b\u044f \u043c\u043d\u043e\u0433\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432.<\/p>\n<h3>\u0414\u0435\u043f\u043b\u043e\u0439<\/h3>\n<p>\u0422\u0430 \u0436\u0435 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430 <a href=\"http:\/\/Fly.io\" rel=\"noopener noreferrer nofollow\">Fly.io<\/a> \u0441 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c\u044b\u043c\u0438 microVM Firecracker. \u0422\u0443\u0442 \u0432\u0441\u0451 \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u043f\u0440\u043e\u0449\u0435, \u0447\u0435\u043c \u043f\u0440\u0438 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u0438 API \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0438 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/Dockerfile\" rel=\"noopener noreferrer nofollow\">Dockerfile&#8217;\u0430<\/a> \u0438\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0441\u0442\u0440\u043e\u043a \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432 \u0432 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/docker\/config\/headerConfig.json\" rel=\"noopener noreferrer nofollow\">config\/headerConfig.json<\/a>:<\/p>\n<pre><code class=\"bash\">FROM pierrezemb\/gostatic COPY docker\/config\/headerConfig.json \/config\/ COPY dist\/ \/srv\/http\/ ENTRYPOINT [\"\/goStatic\", \"-fallback\", \"\/index.html\"]<\/code><\/pre>\n<h3>CI\/CD<\/h3>\n<p>\u0422\u0443\u0442 \u0447\u0443\u0442\u044c \u0441\u043b\u043e\u0436\u043d\u0435\u0435: \u0441\u043d\u0430\u0447\u0430\u043b\u0430 <a href=\"https:\/\/github.com\/workplacescy\/frontend\/tree\/develop\/.github\/workflows\/build.yml\" rel=\"noopener noreferrer nofollow\">Github Action<\/a> \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u0431\u0438\u043b\u0434 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 Vite, \u0430 \u0437\u0430\u0442\u0435\u043c flyctl \u0434\u0435\u043b\u0430\u0435\u0442 \u0438\u0437 \u043d\u0435\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0438 \u0434\u0435\u043f\u043b\u043e\u0438\u0442 \u043d\u0430 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u043d vm. \u0412\u0441\u0435 \u0441\u0435\u043a\u0440\u0435\u0442\u044b \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0432 GitHub production environment.<\/p>\n<h3>\u041c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433<\/h3>\n<p>\u0422\u043e\u0442 \u0436\u0435 <a href=\"https:\/\/sentry.io\/\" rel=\"noopener noreferrer nofollow\">Sentry<\/a> \u0438 <a href=\"https:\/\/www.honeybadger.io\/\" rel=\"noopener noreferrer nofollow\">Honeybadger<\/a>.<\/p>\n<p><strong>\u041d\u0430 \u044d\u0442\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u0441\u0430\u0439\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0440\u0430\u0437\u043c\u0435\u0449\u0451\u043d \u0432 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u043d-\u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0438 \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432\u0441\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c. \u041f\u0440\u043e\u0435\u043a\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d \ud83d\ude42<\/strong><\/p>\n<p>\u0420\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 <a href=\"https:\/\/github.com\/workplacescy\/frontend\" rel=\"noopener noreferrer nofollow\">\u0444\u0440\u043e\u043d\u0442\u044d\u043d\u0434\u0430<\/a>, \u0441\u0430\u0439\u0442 <a href=\"https:\/\/workplaces.cy\/\" rel=\"noopener noreferrer nofollow\">https:\/\/workplaces.cy\/<\/a><\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/695200\/\"> https:\/\/habr.com\/ru\/post\/695200\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-340231","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/340231","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=340231"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/340231\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=340231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=340231"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=340231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}