mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
Docs: update documentation js examples, using es6 (#36203)
* Docs: update components documentation using es6 * Docs: update js blocks around docs, using es6 * Docs: update components documentation using es6 * Test linter
This commit is contained in:
@@ -36,6 +36,7 @@ project-name/
|
||||
|
||||
Import [Bootstrap's JavaScript]({{< docsref "/getting-started/javascript" >}}) in your app's entry point (usually `src/index.js`). You can import all our plugins in one file or separately if you require only a subset of them.
|
||||
|
||||
<!-- eslint-skip -->
|
||||
```js
|
||||
// Import all plugins
|
||||
import * as bootstrap from 'bootstrap';
|
||||
|
||||
Reference in New Issue
Block a user