{"id":304357,"date":"2020-05-27T15:01:15","date_gmt":"2020-05-27T15:01:15","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=304357"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=304357","title":{"rendered":"Vue.js \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0434\u043b\u044f \u0441\u043f\u0440\u0430\u0432\u043a\u0438\/\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/502258\/\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/3ad\/6b6\/101\/3ad6b610136de49b9434ea442438c73f.gif\" alt=\"VB-preview\"><\/p>\n<p>  <\/p>\n<p>\u041f\u0430\u0440\u0443 \u0440\u0430\u0437 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u043b\u043e\u0441\u044c \u0432\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0432 \u0441\u0430\u0439\u0442 \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443. \u041f\u0440\u043e\u0441\u0442\u0435\u043d\u044c\u043a\u0443\u044e, \u0441 \u0442\u0440\u0435\u043c\u044f \u043a\u043e\u043b\u043e\u043d\u043a\u0430\u043c\u0438 \u2014 \u043e\u0431\u0449\u0435\u0435 \u043c\u0435\u043d\u044e, \u0442\u0435\u043a\u0443\u0449\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u0438 \u043c\u0435\u043d\u044e \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438. \u041f\u043e\u0438\u0441\u043a\u0438 \u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\/\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043d\u0435 \u043f\u0440\u0438\u0432\u0435\u043b\u0438 \u043a \u0443\u0441\u043f\u0435\u0445\u0443 \u0441\u043e\u0432\u0441\u0435\u043c. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e.<a name=\"habracut\"><\/a><\/p>\n<p>  <\/p>\n<p>\u0411\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0441\u043e\u0431\u043e\u0439 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u0441\u0442\u0430\u0442\u0438\u0447\u043d\u044b\u0445 \u0441\u0430\u0439\u0442\u043e\u0432. \u0422\u043e \u0435\u0441\u0442\u044c, \u043f\u0440\u0438 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432\u0441\u0451 \u043d\u0430\u0434\u043e \u043f\u0435\u0440\u0435\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u0447\u0442\u043e \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e. \u0422\u0430\u043a\u0436\u0435, \u043d\u0435 \u0443 \u0432\u0441\u0435\u0445 \u0435\u0441\u0442\u044c \u043f\u0440\u0430\u0432\u0430\u044f \u043a\u043e\u043b\u043e\u043d\u043a\u0430, \u043d\u0435 \u0443 \u0432\u0441\u0435\u0445, \u0443 \u043a\u043e\u0433\u043e \u0435\u0441\u0442\u044c, \u043e\u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 \u043f\u043e\u043b\u043d\u043e\u0439 \u043c\u0435\u0440\u0435 (\u043a\u043b\u0438\u043a\u0430\u0431\u0435\u043b\u044c\u043d\u0430 \u0438 \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0435\u0442 \u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0441\u0442\u0430\u0442\u044c\u0438). \u041d\u0435 \u0443 \u0432\u0441\u0435\u0445 \u0434\u0435\u0440\u0435\u0432\u043e \u043c\u0435\u043d\u044e \u0438\u043c\u0435\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0443\u044e \u0433\u043b\u0443\u0431\u0438\u043d\u0443 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u0438. \u041d\u0435 \u0432\u0441\u0435 \u043b\u0435\u0433\u043a\u043e \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0441\u0442\u0438\u043b\u044f\u043c\u0438. \u0418 \u0435\u0449\u0435 \u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043d\u044b\u0445 &quot;\u043d\u0435 \u0432\u0441\u0435&quot;. \u0411\u044b\u043b\u0430 \u0441\u0434\u0435\u043b\u0430\u043d\u0430 \u043f\u043e\u043f\u044b\u0442\u043a\u0430 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u044d\u0442\u0438\u0445 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u043e\u0432 (\u0432\u0441\u0451 \u0441\u0443\u0431\u044a\u0435\u043a\u0442\u0438\u0432\u043d\u043e, \u043a\u043e\u043d\u0435\u0447\u043d\u043e) \u0443\u0441\u0442\u0440\u0430\u043d\u0438\u0442\u044c.<\/p>\n<p>  <\/p>\n<h2 id=\"osobennosti\">\u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438<\/h2>\n<p>  <\/p>\n<ul>\n<li>\u041b\u0435\u0433\u043a\u0438\u0439 (30KB \u0432 UMD \u0441 Markdown \u0432 gzip-e \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438)<\/li>\n<li>\u0411\u044b\u0441\u0442\u0440\u044b\u0439, \u044e\u0437\u0435\u0440-\u0444\u0440\u0435\u043d\u0434\u043b\u0438 \u0448\u0430\u0431\u043b\u043e\u043d<\/li>\n<li>\u041f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0441\u0442\u0438\u043b\u0438\u0437\u0443\u0435\u043c\u044b\u0439 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u043c \u0421SS<\/li>\n<li>\u0423\u0434\u043e\u0431\u0435\u043d \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u043e \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f\/\u0441\u043f\u0440\u0430\u0432\u043a\u0438<\/li>\n<li>\u0424\u043e\u0440\u043c\u0430\u0442 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u2014 HTML \u0438 Markdown. \u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043c\u0435\u043d\u044e \u0438 \u043a\u043e\u043d\u0442\u0435\u043d\u0442 \u0441\u0442\u0430\u0442\u0435\u0439 \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0432 <code>vbcfg.json<\/code> \u0444\u0430\u0439\u043b\u0435 \u0438 \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 <code>.html<\/code> \u0438\u043b\u0438 <code>.md<\/code> \u0444\u0430\u0439\u043b\u0430\u0445, \u0438 \u043b\u0435\u0433\u043a\u043e \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0431\u0435\u0437 \u0440\u0435\u0431\u0438\u043b\u0434\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/li>\n<li>\u041e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u0440\u0435\u0434\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0441\u0442\u0430\u0442\u0435\u0439<\/li>\n<li>\u041e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u043e\u0443\u0442\u0435\u0440 \u2014 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0432 \u0437\u0430\u043a\u043b\u0430\u0434\u043a\u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0442\u0430\u0442\u044c\u0438<\/li>\n<li>\u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0431\u0435\u0437 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439 (\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a). \u0414\u043b\u044f \u043c\u0430\u0440\u043a\u0434\u0430\u0443\u043d\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f <code>marked<\/code> (\u0438\u043b\u0438 \u0430\u043d\u0430\u043b\u043e\u0433 \u043d\u0430 \u0432\u044b\u0431\u043e\u0440), \u0434\u043b\u044f \u0446\u0432\u0435\u0442\u043e\u0432\u043e\u0439 \u0434\u0438\u0444\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u0432 \u0431\u043b\u043e\u043a\u0430\u0445 \u2014 <code>hightligh.js<\/code>. \u0414\u043b\u044f \u0440\u043e\u0443\u0442\u0438\u043d\u0433\u0430 \u2014 <code>vue-router<\/code><\/li>\n<li>\u0412\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u043f\u0443\u043d\u043a\u0442\u043e\u0432 \u043c\u0435\u043d\u044e \u043d\u0435\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0430. \u041f\u0440\u0430\u0432\u043e\u0435 \u043c\u0435\u043d\u044e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u0438 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u043e H1-H6 \u0442\u044d\u0433\u0430\u043c.<\/li>\n<\/ul>\n<p>  <\/p>\n<blockquote><p>SEO \u0431\u044b\u043b \u043d\u0435 \u043d\u0443\u0436\u0435\u043d, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044d\u0442\u043e\u0442 \u0432\u043e\u043f\u0440\u043e\u0441 \u043d\u0435 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u043b\u0441\u044f. \u0415\u0441\u043b\u0438 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u2014 \u0435\u0441\u0442\u044c \u0432\u043d\u0435\u0448\u043d\u0438\u0435 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0435 &quot;\u043e\u0437\u0440\u044f\u0447\u0438\u0442\u044c&quot; \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u0438\u043a\u0438, \u0438 \u043d\u0435 \u0432\u043d\u043e\u0441\u044f\u0449\u0438\u0435 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442 \u0438 \u043a\u043e\u0434 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0435\u043d\u0443\u0436\u043d\u0443\u044e \u0442\u044f\u0436\u0435\u0441\u0442\u044c.<\/p><\/blockquote>\n<p>\u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 <code>vuesence-book<\/code> \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u0432 Node.js \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0442\u0430\u043a \u0438 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c.<\/p>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">Node.js<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">npm install @vuesence\/book --save<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"xml\">&lt;template&gt;   &lt;div id=&quot;app&quot; class=&quot;app&quot;&gt;     &lt;vuesence-book        header-title=&quot;My Book&quot;        :use-router=&quot;false&quot;      \/&gt;   &lt;\/div&gt; &lt;\/template&gt;  &lt;script&gt; import VuesenceBook from &quot;@vuesence\/book&quot;; export default {   name: &quot;App&quot;,   components: {     VuesenceBook   } }; &lt;\/script&gt;  &lt;style&gt;     @import '.\/css\/default.css';     \/* @import '.\/css\/vuepress-style.css'; *\/     \/* @import '.\/css\/google-style.css'; *\/ &lt;\/style&gt;<\/code><\/pre>\n<\/div><\/div>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">Browser<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"xml\">&lt;!DOCTYPE html&gt; &lt;html lang=&quot;en&quot;&gt;     &lt;head&gt;         &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width,initial-scale=1.0,user-scalable=no&quot;&gt;         &lt;title&gt;vuesence-book demo&lt;\/title&gt;          &lt;script src=&quot;https:\/\/unpkg.com\/vue&quot;&gt;&lt;\/script&gt;         &lt;script src=&quot;https:\/\/unpkg.com\/@vuesence\/book@0.3.42&quot;&gt;&lt;\/script&gt;          &lt;link rel=&quot;stylesheet&quot; href=&quot;https:\/\/unpkg.com\/browse\/@vuesence\/book@0.3.42\/src\/css\/default.css&quot;&gt;                 &lt;!-- You can plug in any custom CSS here to style the Vuesence Book--&gt;         &lt;!-- &lt;link rel=&quot;stylesheet&quot; href=&quot;css\/vuepress-style.css&quot;&gt; --&gt;         &lt;!-- &lt;link rel=&quot;stylesheet&quot; href=&quot;css\/google-style.css&quot;&gt; --&gt;     &lt;\/head&gt;      &lt;body&gt;         &lt;div id=&quot;app&quot; class=&quot;app&quot;&gt;             &lt;!-- \u0440\u044f\u0434\u043e\u043c \u0441 \u0434\u0430\u043d\u043d\u044b\u043c html \u0444\u0430\u0439\u043b\u043e\u043c \u0434\u043e\u043b\u0436\u0435\u043d \u043b\u0435\u0436\u0430\u0442\u044c vbcfg.json                    \u0438 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f pages \u0441\u043e \u0441\u0442\u0430\u0442\u044c\u044f\u043c\u0438 --&gt;             &lt;vuesence-book                 header-title=&quot;My Book&quot;                 article-path=&quot;pages\/&quot;                 :use-router=&quot;false&quot;             \/&gt;         &lt;\/div&gt;     &lt;\/body&gt;      &lt;script&gt;         new Vue({ el: '#app' })     &lt;\/script&gt;  &lt;\/html&gt;<\/code><\/pre>\n<\/div><\/div>\n<p>  <\/p>\n<h3 id=\"atributy-vuesence-book-elementa\">\u0410\u0442\u0440\u0438\u0431\u0443\u0442\u044b vuesence-book \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430<\/h3>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">VuesenceBook props<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<ul>\n<li><strong>article-lazy-load<\/strong> \u2014 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0441\u0442\u0430\u0442\u0435\u0439 \u043f\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0443 \u0438\u043b\u0438 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e: <code>false<\/code><\/li>\n<li><strong>cfg-path<\/strong> \u2014 \u043f\u0443\u0442\u044c \u043a \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u0443. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e: &quot;vbcfg.json&quot;<\/li>\n<li><strong>article-path<\/strong> \u2014 \u043f\u0443\u0442\u044c \u043a \u0441\u0442\u0430\u0442\u044c\u044f\u043c. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e: &quot;pages\/&quot;<\/li>\n<li><strong>header-title<\/strong> \u2014 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u0445\u0435\u0434\u0435\u0440\u0430. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e: &quot;Vuesence.Book&quot;<\/li>\n<li><strong>show-header<\/strong> \u2014 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0445\u0435\u0434\u0435\u0440 \u0438\u043b\u0438 \u043d\u0435\u0442. \u0415\u0441\u043b\u0438 \u043d\u0435\u0442, \u0442\u043e \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u0431\u043e\u043a\u043e\u0432\u043e\u0435 \u043c\u0435\u043d\u044e \u0432 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u043c \u0432\u0438\u0434\u0435 \u043d\u0430\u0434\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e (<code>openSidebar()<\/code>, <code>closeSidebar()<\/code> \u0438 <code>toggleSidebar()<\/code> \u043c\u0435\u0442\u043e\u0434\u044b \u043d\u0430 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0435). \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e: <code>true<\/code><\/li>\n<li><strong>hide-header-in-desktop-view<\/strong> \u2014 \u0441\u043f\u0440\u044f\u0442\u0430\u0442\u044c \u0445\u0435\u0434\u0435\u0440 \u0432 \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u0435 \u0432\u0438\u0434\u0435. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043f\u043e\u043a\u0430\u0445 \u0445\u0435\u0434\u0435\u0440\u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u043c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0438. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e: <code>false<\/code><\/li>\n<li><strong>hide-root-in-article-navigation<\/strong> \u2014 \u043d\u0435 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0439 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u0432 \u043c\u0435\u043d\u044e \u0432 \u043f\u0440\u0430\u0432\u043e\u0439 \u043a\u043e\u043b\u043e\u043d\u043a\u0435 (\u0447\u0430\u0441\u0442\u043e \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0435\u0442 \u0441 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c \u0441\u0442\u0430\u0442\u044c\u0438) \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e: <code>false<\/code><\/li>\n<li><strong>use-router<\/strong> \u2014 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Vue-router \u0438\u043b\u0438 \u043d\u0435\u0442. \u0421\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0435\u0435 VuesenceBook Node.js \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c <code>route<\/code> \u0434\u043b\u044f VuesenceBook \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430. \u0414\u043b\u044f \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e \u043d\u0430 <code>false<\/code>. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e: <code>true<\/code><\/li>\n<\/ul>\n<\/div><\/div>\n<p>  <\/p>\n<h3 id=\"konfiguracionnyy-fayl\">\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b<\/h3>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440 vbcfg.json<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"json\">{     &quot;startArticle&quot;: &quot;overview&quot;,     &quot;data&quot;: [{         &quot;title&quot;: &quot;TOC&quot;,         &quot;sections&quot;: [             {                 &quot;id&quot;: &quot;overview&quot;,                 &quot;title&quot;: &quot;Overview&quot;,                 &quot;url&quot;: &quot;overview.html&quot;             },             {                 &quot;title&quot;: &quot;Setup&quot;,                 &quot;sections&quot;: [                     {                         &quot;id&quot;: &quot;install&quot;,                         &quot;title&quot;: &quot;Installation&quot;,                         &quot;url&quot;: &quot;installation.md&quot;                     }                 ]             }         ]     },     {         &quot;title&quot;: &quot;Examples&quot;,         &quot;id&quot;: &quot;design&quot;,         &quot;sections&quot;: [             {                 &quot;id&quot;: &quot;5&quot;,                 &quot;title&quot;: &quot;Inline HTML&quot;,                 &quot;content&quot;: &quot;&lt;h2&gt;Inline HTML article&lt;\/h2&gt;&lt;p&gt;This text is embedded in the &lt;b&gt;vbcfg.json&lt;\/b&gt; file. Other articles are in separate HTML and MD files.&lt;\/p&gt; &quot;             }         ]     }    ] }<\/code><\/pre>\n<\/div><\/div>\n<p>  <\/p>\n<p>\u0415\u0441\u043b\u0438 \u0443 \u0441\u0442\u0430\u0442\u044c\u0438 \u0435\u0441\u0442\u044c \u0430\u0442\u0440\u0438\u0431\u0443\u0442 <code>content<\/code> \u2014 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0435\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 (\u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0444\u043e\u0440\u043c\u0430\u0442\u0430). \u0412 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0441\u0442\u0430\u0442\u044c\u044f \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f \u043f\u043e <code>url<\/code>. \u0422\u0438\u043f \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044e \u0444\u0430\u0439\u043b\u0430.<\/p>\n<p>  <\/p>\n<h3 id=\"ssylki\">\u0421\u0441\u044b\u043b\u043a\u0438<\/h3>\n<p>  <\/p>\n<p><a href=\"https:\/\/www.npmjs.com\/package\/@vuesence\/book\" rel=\"nofollow\">NPM<\/a>, <a href=\"https:\/\/github.com\/altrusl\/vuesence-book\/\" rel=\"nofollow\">GitHub<\/a><\/p>\n<p>  <\/p>\n<p>\u041f\u043e\u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441 Vuesence Book \u043c\u043e\u0436\u043d\u043e \u0432 <a href=\"https:\/\/codesandbox.io\/s\/vuesence-book-0rfh5\" rel=\"nofollow\">\u043f\u0435\u0441\u043e\u0447\u043d\u0438\u0446\u0435<\/a><\/p>\n<p>  <\/p>\n<p>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043f\u043e \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0443 <a href=\"https:\/\/altrusl.github.io\/vuesence-book\/\" rel=\"nofollow\">\u0437\u0434\u0435\u0441\u044c<\/a><br \/>  \u042d\u0442\u043e\u0442 \u0436\u0435 \u0441\u0430\u0439\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 Vuesence Book, \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u043e\u0433\u043e \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 (100\/95 \u0431\u0430\u043b\u043b\u043e\u0432 \u043d\u0430 PageSpeed, \u043a\u0441\u0442\u0430\u0442\u0438, \u0431\u0435\u0437 \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438).<\/p>\n<p>  <\/p>\n<p>Bugs, issues, feature and pull requests are welcome<br \/>  \u041f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u043e\u0441\u044c \u2014 <a href=\"https:\/\/github.com\/altrusl\/vuesence-book\/\" rel=\"nofollow\">GitHub star<\/a>.<\/p>\n<\/div>\n<p> \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\/502258\/\"> https:\/\/habr.com\/ru\/post\/502258\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/502258\/\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/3ad\/6b6\/101\/3ad6b610136de49b9434ea442438c73f.gif\" alt=\"VB-preview\"><\/p>\n<p>  <\/p>\n<p>\u041f\u0430\u0440\u0443 \u0440\u0430\u0437 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u043b\u043e\u0441\u044c \u0432\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0432 \u0441\u0430\u0439\u0442 \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443. \u041f\u0440\u043e\u0441\u0442\u0435\u043d\u044c\u043a\u0443\u044e, \u0441 \u0442\u0440\u0435\u043c\u044f \u043a\u043e\u043b\u043e\u043d\u043a\u0430\u043c\u0438 \u2014 \u043e\u0431\u0449\u0435\u0435 \u043c\u0435\u043d\u044e, \u0442\u0435\u043a\u0443\u0449\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u0438 \u043c\u0435\u043d\u044e \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438. \u041f\u043e\u0438\u0441\u043a\u0438 \u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\/\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043d\u0435 \u043f\u0440\u0438\u0432\u0435\u043b\u0438 \u043a \u0443\u0441\u043f\u0435\u0445\u0443 \u0441\u043e\u0432\u0441\u0435\u043c. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e.<\/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-304357","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/304357","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=304357"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/304357\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=304357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=304357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=304357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}