mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
separate css and js includes
This commit is contained in:
@@ -85,9 +85,16 @@ npm install --save @tabler/core
|
|||||||
|
|
||||||
All files included in `@tabler/core` npm package are available over a CDN.
|
All files included in `@tabler/core` npm package are available over a CDN.
|
||||||
|
|
||||||
|
#### Javascript
|
||||||
|
|
||||||
|
```html
|
||||||
|
<script src="https://unpkg.com/@tabler/core@latest/dist/js/tabler.min.js"></script>
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Styles
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<link rel="stylesheet" href="https://unpkg.com/@tabler/core@latest/dist/css/tabler.min.css">
|
<link rel="stylesheet" href="https://unpkg.com/@tabler/core@latest/dist/css/tabler.min.css">
|
||||||
<script src="https://unpkg.com/@tabler/core@latest/dist/js/tabler.min.js"></script>
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Feature requests
|
## Feature requests
|
||||||
|
|||||||
@@ -587,13 +587,21 @@
|
|||||||
</div>
|
</div>
|
||||||
<h2 id="cdn-support">CDN support</h2>
|
<h2 id="cdn-support">CDN support</h2>
|
||||||
<p>All files included in <code class="language-plaintext highlighter-rouge">@tabler/core</code> npm package are available over a CDN.</p>
|
<p>All files included in <code class="language-plaintext highlighter-rouge">@tabler/core</code> npm package are available over a CDN.</p>
|
||||||
|
<h3 id="javascript">Javascript</h3>
|
||||||
<div class="language-html highlighter-rouge">
|
<div class="language-html highlighter-rouge">
|
||||||
<div class="highlight">
|
<div class="highlight">
|
||||||
<pre class="highlight"><code><span class="nt"><link</span> <span class="na">rel=</span><span class="s">"stylesheet"</span> <span class="na">href=</span><span class="s">"https://unpkg.com/@tabler/core@latest/dist/css/tabler.min.css"</span><span class="nt">></span>
|
<pre class="highlight"><code><span class="nt"><script </span><span class="na">src=</span><span class="s">"https://unpkg.com/@tabler/core@latest/dist/js/tabler.min.js"</span><span class="nt">></script></span>
|
||||||
<span class="nt"><script </span><span class="na">src=</span><span class="s">"https://unpkg.com/@tabler/core@latest/dist/js/tabler.min.js"</span><span class="nt">></script></span>
|
|
||||||
</code></pre>
|
</code></pre>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<h3 id="styles">Styles</h3>
|
||||||
|
<div class="language-html highlighter-rouge">
|
||||||
|
<div class="highlight">
|
||||||
|
<pre class="highlight"><code><span class="nt"><link</span> <span class="na">rel=</span><span class="s">"stylesheet"</span> <span class="na">href=</span><span class="s">"https://unpkg.com/@tabler/core@latest/dist/css/tabler.min.css"</span><span class="nt">></span>
|
||||||
|
</code></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h3 id="other-versions">Other versions</h3>
|
||||||
<p>To load a specific version replace <code class="language-plaintext highlighter-rouge">latest</code> with the desired version number.</p>
|
<p>To load a specific version replace <code class="language-plaintext highlighter-rouge">latest</code> with the desired version number.</p>
|
||||||
<div class="language-html highlighter-rouge">
|
<div class="language-html highlighter-rouge">
|
||||||
<div class="highlight">
|
<div class="highlight">
|
||||||
|
|||||||
@@ -2,151 +2,151 @@
|
|||||||
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/alerts.html</loc>
|
<loc>/docs/alerts.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/autosize.html</loc>
|
<loc>/docs/autosize.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/avatars.html</loc>
|
<loc>/docs/avatars.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/badges.html</loc>
|
<loc>/docs/badges.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/breadcrumb.html</loc>
|
<loc>/docs/breadcrumb.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/buttons.html</loc>
|
<loc>/docs/buttons.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/cards.html</loc>
|
<loc>/docs/cards.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/carousel.html</loc>
|
<loc>/docs/carousel.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/charts.html</loc>
|
<loc>/docs/charts.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/colors.html</loc>
|
<loc>/docs/colors.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/countup.html</loc>
|
<loc>/docs/countup.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/cursors.html</loc>
|
<loc>/docs/cursors.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/divider.html</loc>
|
<loc>/docs/divider.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/dropdowns.html</loc>
|
<loc>/docs/dropdowns.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/empty.html</loc>
|
<loc>/docs/empty.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/flags.html</loc>
|
<loc>/docs/flags.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/form-elements.html</loc>
|
<loc>/docs/form-elements.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/form-helpers.html</loc>
|
<loc>/docs/form-helpers.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/icons.html</loc>
|
<loc>/docs/icons.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/</loc>
|
<loc>/docs/</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/input-mask.html</loc>
|
<loc>/docs/input-mask.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/modals.html</loc>
|
<loc>/docs/modals.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/payments.html</loc>
|
<loc>/docs/payments.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/progress.html</loc>
|
<loc>/docs/progress.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/range-slider.html</loc>
|
<loc>/docs/range-slider.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/ribbons.html</loc>
|
<loc>/docs/ribbons.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/skeleton.html</loc>
|
<loc>/docs/skeleton.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/spinners.html</loc>
|
<loc>/docs/spinners.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/steps.html</loc>
|
<loc>/docs/steps.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/switch-icon.html</loc>
|
<loc>/docs/switch-icon.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/tables.html</loc>
|
<loc>/docs/tables.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/tabs.html</loc>
|
<loc>/docs/tabs.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/timelines.html</loc>
|
<loc>/docs/timelines.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/toasts.html</loc>
|
<loc>/docs/toasts.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/tooltips.html</loc>
|
<loc>/docs/tooltips.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/typography.html</loc>
|
<loc>/docs/typography.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/docs/usage.html</loc>
|
<loc>/docs/usage.html</loc>
|
||||||
<lastmod>2020-11-15T19:27:48+01:00</lastmod>
|
<lastmod>2020-11-15T19:40:32+01:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>/500.html</loc>
|
<loc>/500.html</loc>
|
||||||
|
|||||||
@@ -20,11 +20,20 @@ npm install @tabler/core@alpha
|
|||||||
|
|
||||||
All files included in `@tabler/core` npm package are available over a CDN.
|
All files included in `@tabler/core` npm package are available over a CDN.
|
||||||
|
|
||||||
|
### Javascript
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<link rel="stylesheet" href="https://unpkg.com/@tabler/core@latest/dist/css/tabler.min.css">
|
|
||||||
<script src="https://unpkg.com/@tabler/core@latest/dist/js/tabler.min.js"></script>
|
<script src="https://unpkg.com/@tabler/core@latest/dist/js/tabler.min.js"></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Styles
|
||||||
|
|
||||||
|
```html
|
||||||
|
<link rel="stylesheet" href="https://unpkg.com/@tabler/core@latest/dist/css/tabler.min.css">
|
||||||
|
```
|
||||||
|
|
||||||
|
### Other versions
|
||||||
|
|
||||||
To load a specific version replace `latest` with the desired version number.
|
To load a specific version replace `latest` with the desired version number.
|
||||||
|
|
||||||
```html
|
```html
|
||||||
|
|||||||
Reference in New Issue
Block a user