Skip to content

Commit 3555b6c

Browse files
committed
Update docs on clientside dependencies
1 parent 933eab9 commit 3555b6c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/source/index.html.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,22 @@ Run the `assets:install` command to deploy the included Javascript files to your
4545
<code>bin/console assets:install</code>
4646

4747
<aside class="notice">That last step is actually optional, as you can also load it through Assetic or WebPack, but a good starting point.</aside>
48+
49+
## Clientside dependencies
50+
51+
```html
52+
<!-- in the <head> section -->
53+
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/dt/jq-3.2.1/dt-1.10.16/datatables.min.css"/>
54+
55+
<!-- before the closing <body> tag -->
56+
<script type="text/javascript" src="https://cdn.datatables.net/v/dt/jq-3.2.1/dt-1.10.16/datatables.min.js"></script>
57+
```
58+
All serverside dependencies are managed by Composer. Clientside dependencies are left up the implementer to decide
59+
how to include which DataTables dependencies. As long are you are using a fairly up to date version of DataTables you
60+
should be fine, as the bundle does not use exotic features or depend on plugins.
61+
62+
The code snippets here should get you started quickly, including jQuery 3. For more extensive download options visit
63+
[https://datatables.net/download/](https://datatables.net/download/).
4864

4965
# Quickstart
5066

0 commit comments

Comments
 (0)