UNPKG

vue-notifications

Version:
380 lines (173 loc) 11.4 kB
<!DOCTYPE HTML> <html lang="" > <head> <meta charset="UTF-8"> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <title>Installation · GitBook</title> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="description" content=""> <meta name="generator" content="GitBook 3.2.3"> <link rel="stylesheet" href="gitbook/style.css"> <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css"> <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css"> <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css"> <meta name="HandheldFriendly" content="true"/> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png"> <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon"> <link rel="next" href="getting-started.html" /> <link rel="prev" href="./" /> </head> <body> <div class="book"> <div class="book-summary"> <div id="book-search-input" role="search"> <input type="text" placeholder="Type to search" /> </div> <nav role="navigation"> <ul class="summary"> <li class="chapter " data-level="1.1" data-path="./"> <a href="./"> Introduction and WTF is it? </a> </li> <li class="chapter active" data-level="1.2" data-path="installation.html"> <a href="installation.html"> Installation </a> </li> <li class="chapter " data-level="1.3" data-path="getting-started.html"> <a href="getting-started.html"> Getting Started </a> </li> <li class="chapter " data-level="1.4" data-path="usage.html"> <a href="usage.html"> Usage </a> </li> <li class="chapter " data-level="1.5" data-path="what-you-shouldnt-do.html"> <a href="what-you-shouldnt-do.html"> What you shouldn't do </a> </li> <li class="chapter " data-level="1.6" data-path="advanced-setup.html"> <a href="advanced-setup.html"> Advanced Setup </a> </li> <li class="chapter " data-level="1.7" data-path="how-it-works.html"> <a href="how-it-works.html"> How it works </a> </li> <li class="chapter " data-level="1.8" data-path="browsers-support.html"> <a href="browsers-support.html"> Browsers support </a> </li> <li class="chapter " data-level="1.9" data-path="vuejs-versions-support.html"> <a href="vuejs-versions-support.html"> Vuejs Versions Support </a> </li> <li class="chapter " data-level="1.10" > <a target="_blank" href="https://github.com/se-panfilov/vue-notifications/releases"> Release Notes </a> </li> <li class="divider"></li> <li> <a href="https://www.gitbook.com" target="blank" class="gitbook-link"> Published with GitBook </a> </li> </ul> </nav> </div> <div class="book-body"> <div class="body-inner"> <div class="book-header" role="navigation"> <!-- Title --> <h1> <i class="fa fa-circle-o-notch fa-spin"></i> <a href="." >Installation</a> </h1> </div> <div class="page-wrapper" tabindex="-1" role="main"> <div class="page-inner"> <div id="book-search-results"> <div class="search-noresults"> <section class="normal markdown-section"> <h1 id="installation">Installation</h1> <h2 id="latest-version">Latest version</h2> <p>For latest versions you can install it only via npm: </p> <pre><code>npm i vue-notifications --save </code></pre><p>or</p> <pre><code>yarn add vue-notifications </code></pre><h2 id="legacy-version">Legacy version</h2> <p>For legacy versions (below v1.0.0) cdn and bower is also available:</p> <h3 id="cdn">CDN</h3> <p>Basically: <a href="https://unpkg.com/vue-notifications" target="_blank">https://unpkg.com/vue-notifications</a></p> <p>For some specific version:</p> <ul> <li>ES5: <a href="https://unpkg.com/vue-notifications@x.x.x/dist/vue-notifications.es5.js" target="_blank">https://unpkg.com/vue-notifications@x.x.x/dist/vue-notifications.es5.js</a></li> <li>ES5 minified: <a href="https://unpkg.com/vue-notifications@x.x.x/dist/vue-notifications.es5.min.js" target="_blank">https://unpkg.com/vue-notifications@x.x.x/dist/vue-notifications.es5.min.js</a></li> </ul> <p>or</p> <ul> <li>ES6: <a href="https://unpkg.com/vue-notifications@x.x.x/dist/vue-notifications.es6.js" target="_blank">https://unpkg.com/vue-notifications@x.x.x/dist/vue-notifications.es6.js</a></li> <li>ES6 minified: <a href="https://unpkg.com/vue-notifications@x.x.x/dist/vue-notifications.es6.min,js" target="_blank">https://unpkg.com/vue-notifications@x.x.x/dist/vue-notifications.es6.min.js</a></li> </ul> <h3 id="bower">Bower</h3> <pre><code>bower i vue-notifications --save </code></pre><h3 id="direct-download">Direct download</h3> <p><a href="https://github.com/se-panfilov/vue-notifications/releases" target="_blank">https://github.com/se-panfilov/vue-notifications/releases</a></p> <h2 id="dev-build">Dev Build </h2> <p>You will have to clone directly from GitHub and build<code>vue-notifications</code>yourself if you want to use the latest dev build.</p> <pre><code class="lang-shell">git clone git@github.com:se-panfilov/vue-notifications.git cd node_modules/vue-notifications npm install npm run build </code></pre> </section> </div> <div class="search-results"> <div class="has-results"> <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1> <ul class="search-results-list"></ul> </div> <div class="no-results"> <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1> </div> </div> </div> </div> </div> </div> <a href="./" class="navigation navigation-prev " aria-label="Previous page: Introduction and WTF is it?"> <i class="fa fa-angle-left"></i> </a> <a href="getting-started.html" class="navigation navigation-next " aria-label="Next page: Getting Started"> <i class="fa fa-angle-right"></i> </a> </div> <script> var gitbook = gitbook || []; gitbook.push(function() { gitbook.page.hasChanged({"page":{"title":"Installation","level":"1.2","depth":1,"next":{"title":"Getting Started","level":"1.3","depth":1,"path":"getting-started.md","ref":"getting-started.md","articles":[]},"previous":{"title":"Introduction and WTF is it?","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"installation.md","mtime":"2019-05-27T14:52:57.451Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-08-01T12:24:20.020Z"},"basePath":".","book":{"language":""}}); }); </script> </div> <script src="gitbook/gitbook.js"></script> <script src="gitbook/theme.js"></script> <script src="gitbook/gitbook-plugin-search/search-engine.js"></script> <script src="gitbook/gitbook-plugin-search/search.js"></script> <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script> <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script> <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script> <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script> </body> </html>