{"id":19500,"date":"2024-09-22T19:25:05","date_gmt":"2024-09-22T16:25:05","guid":{"rendered":"https:\/\/rss.eground-zerkalo.com\/?p=19500"},"modified":"2024-09-22T19:25:05","modified_gmt":"2024-09-22T16:25:05","slug":"nuxt-%d0%b8%d0%bd%d1%82%d0%b5%d0%bd%d1%81%d0%b8%d0%b2%d0%bd%d1%8b%d0%b9-%d0%b1%d0%b0%d0%b7%d0%be%d0%b2%d1%8b%d0%b9-%d0%ba%d1%83%d1%80%d1%81-%d0%b4%d0%bc%d0%b8%d1%82%d1%80%d0%b8%d0%b9-%d0%bb%d0%b0","status":"publish","type":"post","link":"https:\/\/rss.eground-zerkalo.com\/?p=19500","title":{"rendered":"Nuxt &#8212; \u0438\u043d\u0442\u0435\u043d\u0441\u0438\u0432\u043d\u044b\u0439 \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u043a\u0443\u0440\u0441 [\u0414\u043c\u0438\u0442\u0440\u0438\u0439 \u041b\u0430\u0432\u0440\u0438\u043a]"},"content":{"rendered":"<p><b>Nuxt &#8212; \u0438\u043d\u0442\u0435\u043d\u0441\u0438\u0432\u043d\u044b\u0439 \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u043a\u0443\u0440\u0441 [\u0414\u043c\u0438\u0442\u0440\u0438\u0439 \u041b\u0430\u0432\u0440\u0438\u043a]<\/b><br \/> <img decoding=\"async\" src=\"https:\/\/v19.skladchik.org\/proxy.php?image=https%3A%2F%2Fi.ibb.co%2Fs5qxpZV%2FScreenshot-2.png&amp;hash=00fbc82a8a456b63d457f6da719eb95f\" class=\"bbCodeImage LbImage\" data-url=\"https:\/\/i.ibb.co\/s5qxpZV\/Screenshot-2.png\" alt=\"[&#x200B;IMG]\" \/> <br \/> <iframe loading=\"lazy\" src=\"https:\/\/player.vimeo.com\/video\/1011093271\" width=\"500\" height=\"281\" frameborder=\"0\"><\/iframe><\/p>\n<p> <i>\u0420\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0441 \u0433\u043b\u0430\u0432\u043d\u044b\u043c\u0438 \u0442\u0435\u043c\u0430\u043c\u0438 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 Nuxt \u0438 \u043d\u0430\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c SPA, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0449\u0438\u0435 Server Side Rendering, \u0441 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0442\u0440\u0443\u0434\u043e\u0437\u0430\u0442\u0440\u0430\u0442\u0430\u043c\u0438 \u0434\u043b\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430<br \/> (\u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 SSR \u0441 \u043d\u0443\u043b\u044f \u043d\u0430 \u0447\u0438\u0441\u0442\u043e\u043c Vue).<\/p>\n<p> \u041c\u044b \u0445\u043e\u0442\u0438\u043c \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043a\u0443, \u043f\u0440\u0438\u0431\u043b\u0438\u0436\u0435\u043d\u043d\u0443\u044e \u043a \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438, \u0438 \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c Vuetify, \u0438\u0437\u0443\u0447\u0430\u0435\u043c \u0435\u0451 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0438 \u043f\u0440\u043e\u0449\u0443\u043f\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b UI-\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u043f\u0440\u0438 SSR.<\/p>\n<p> <b>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043a\u0443\u0440\u0430:<\/p>\n<p> \u0423\u0440\u043e\u043a 1 <\/p>\n<ul>\n<li>\u0417\u043d\u0430\u043a\u043e\u043c\u0441\u0442\u0432\u043e \u0441 Nuxt, \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 Nuxi<\/li>\n<li>\u041f\u0440\u043e\u0446\u0435\u0441\u0441 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0438 \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u044f \u0430\u0432\u0442\u043e\u0438\u043c\u043f\u043e\u0440\u0442\u0430<\/li>\n<li>\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0439 \u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0447\u0430\u0441\u0442\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u044b<\/li>\n<li>\u041f\u0440\u043e\u0441\u0442\u043e\u0439 \u0440\u043e\u0443\u0442\u0438\u043d\u0433, \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b<\/li>\n<li>\u041f\u043b\u0430\u0433\u0438\u043d\u044b \u0438 middleware<\/li>\n<li>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0432 nuxt.config<\/li>\n<\/ul>\n<p><b><i>\u0423\u0440\u043e\u043a 2<\/i><\/b> <\/p>\n<ul>\n<li>\u0412\u044b\u0431\u043e\u0440 UI, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Vuetify 3 \u0432 Nuxt<\/li>\n<li>\u0411\u0430\u0437\u043e\u0432\u044b\u0435 \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u0438 Vuetify<\/li>\n<li>\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u0438 \u0441\u0442\u0438\u043b\u0438<\/li>\n<li>Application layout<\/li>\n<li>\u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 UI-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b<\/li>\n<li>\u041f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0438\u043a\u043e\u043d\u043e\u043a<\/li>\n<\/ul>\n<p><i><b>\u0423\u0440\u043e\u043a 3<\/b><\/i> <\/p>\n<ul>\n<li>SSR \u0438 \u0433\u0438\u0434\u0440\u0430\u0442\u0430\u0446\u0438\u044f SPA<\/li>\n<li>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439<\/li>\n<li>\u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0432 Nuxt<\/li>\n<li>useFetch, useAsyncData \u0438 $fetch<\/li>\n<li>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043e\u0431\u0451\u0440\u0442\u043a\u0438 $appFetch<\/li>\n<li>\u041d\u044e\u0430\u043d\u0441\u044b \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432: setup, dependsOn, provide<\/li>\n<\/ul>\n<p><b><i>\u0423\u0440\u043e\u043a 4<\/i><\/b> <\/p>\n<ul>\n<li>\u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f: pinia \u0438 auth store<\/li>\n<li>\u0420\u043e\u0443\u0442\u0438\u043d\u0433 \u0438 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b<\/li>\n<li>\u041c\u0435\u0442\u0430-\u0434\u0430\u043d\u043d\u044b\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432 \u0438 definePageMeta<\/li>\n<li>\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 Auth-middleware<\/li>\n<li>$appFetch: \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u0438 401-\u044b\u0435 \u043e\u0448\u0438\u0431\u043a\u0438<\/li>\n<li>\u041e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 SSR \u0434\u043b\u044f \u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0445 \u0441\u0442\u0440\u0430\u043d\u0438\u0446<\/li>\n<\/ul>\n<p><i><b>\u0423\u0440\u043e\u043a 5<\/b><\/i> <\/p>\n<ul>\n<li>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0432\u0445\u043e\u0434\u0430 \u043d\u0430 \u0441\u0430\u0439\u0442<\/li>\n<li>\u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u0444\u043e\u0440\u043c\u0430\u043c\u0438<\/li>\n<li>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 composable useForm<\/li>\n<li>\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 422-\u044b\u0445 \u043e\u0448\u0438\u0431\u043e\u043a<\/li>\n<li>Layouts \u0434\u043b\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u0438 \u0430\u0434\u043c\u0438\u043d-\u043f\u0430\u043d\u0435\u043b\u0438<\/li>\n<\/ul>\n<p><b><i>\u0423\u0440\u043e\u043a 6<\/i><\/b> <\/p>\n<ul>\n<li>\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430 \u0430\u0434\u043c\u0438\u043d\u043a\u0438<\/li>\n<li>\u0412\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0441 backend-api<\/li>\n<li>Api \u0438 \u043f\u0430\u0442\u0442\u0435\u0440\u043d repository<\/li>\n<li>\u0423\u043c\u0435\u0440\u0435\u043d\u043d\u043e\u0435 \u043f\u043e\u0433\u0440\u0443\u0436\u0435\u043d\u0438\u0435 \u0432 typescript<\/li>\n<li>\u0421\u043a\u0440\u044b\u0442\u0430\u044f \u043f\u0430\u043f\u043a\u0430 .nuxt \u0438 \u043c\u0430\u0433\u0438\u044f \u0442\u0438\u043f\u043e\u0432<\/li>\n<\/ul>\n<p><i><b>\u0423\u0440\u043e\u043a 7 <\/p>\n<ul>\n<li>\u0420\u0435\u0436\u0438\u043c\u044b \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430<\/li>\n<li>\u041f\u0440\u0435\u0440\u0435\u043d\u0434\u0435\u0440\u0438\u043d\u0433 vs SSR<\/li>\n<li>SSR \u0438 \u0444\u043e\u043a\u0443\u0441\u044b UI-\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a<\/li>\n<li>\u0420\u0430\u0431\u043e\u0442\u0430 \u0441 SEO-\u0442\u0435\u0433\u0430\u043c\u0438<\/li>\n<li>AsyncData \u0438 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043c\u0435\u0442\u0430\u0442\u0435\u0433\u0438<\/li>\n<\/ul>\n<p><b><i>\u0423\u0440\u043e\u043a 8<\/i><\/b> <\/p>\n<ul>\n<li>\u0414\u043e\u0440\u0430\u0431\u043e\u0442\u043a\u0430 SPA<\/li>\n<li>\u0420\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0435 \u043d\u0430 VDS<\/li>\n<li>Node.js \u0438 pm2<\/li>\n<li>Nginx reverse proxy<\/li>\n<li>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 Core Web Vitals \u0441 SSR \u0438 \u0431\u0435\u0437<\/li>\n<\/ul>\n<p>\u0421\u0442\u0430\u0440\u0442 \u043a\u0443\u0440\u0441\u0430: <b>3 \u043e\u043a\u0442\u044f\u0431\u0440\u044f 2024<\/b><br \/> \u0426\u0435\u043d\u0430 \u043a\u0443\u0440\u0441\u0430: 12 600 \u0440\u0443\u0431.<\/p>\n<p> <\/b><\/i><br \/> <\/b><br \/> <\/i><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nuxt &#8212; \u0438\u043d\u0442\u0435\u043d\u0441\u0438\u0432\u043d\u044b\u0439 \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u043a\u0443\u0440\u0441 [\u0414\u043c\u0438\u0442\u0440\u0438\u0439 \u041b\u0430\u0432\u0440\u0438\u043a] \u0420\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0441 \u0433\u043b\u0430\u0432\u043d\u044b\u043c\u0438 \u0442\u0435\u043c\u0430\u043c\u0438 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 Nuxt \u0438 \u043d\u0430\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c SPA, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0449\u0438\u0435 Server Side Rendering, \u0441 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0442\u0440\u0443\u0434\u043e\u0437\u0430\u0442\u0440\u0430\u0442\u0430\u043c\u0438 \u0434\u043b\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430 (\u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 SSR \u0441 \u043d\u0443\u043b\u044f \u043d\u0430 \u0447\u0438\u0441\u0442\u043e\u043c Vue). \u041c\u044b \u0445\u043e\u0442\u0438\u043c \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043a\u0443, \u043f\u0440\u0438\u0431\u043b\u0438\u0436\u0435\u043d\u043d\u0443\u044e \u043a \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438, \u0438 \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c Vuetify, \u0438\u0437\u0443\u0447\u0430\u0435\u043c \u0435\u0451 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0438 \u043f\u0440\u043e\u0449\u0443\u043f\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b UI-\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-19500","post","type-post","status-publish","format-standard","hentry","category-rss"],"_links":{"self":[{"href":"https:\/\/rss.eground-zerkalo.com\/index.php?rest_route=\/wp\/v2\/posts\/19500","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rss.eground-zerkalo.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rss.eground-zerkalo.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rss.eground-zerkalo.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rss.eground-zerkalo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=19500"}],"version-history":[{"count":0,"href":"https:\/\/rss.eground-zerkalo.com\/index.php?rest_route=\/wp\/v2\/posts\/19500\/revisions"}],"wp:attachment":[{"href":"https:\/\/rss.eground-zerkalo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=19500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rss.eground-zerkalo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=19500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rss.eground-zerkalo.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=19500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}