Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pierre-Yves Gicquel
albiziapp
Commits
bfdf06bf
Unverified
Commit
bfdf06bf
authored
Dec 13, 2019
by
Gicquel
Committed by
gitbook-bot
Dec 13, 2019
Browse files
GitBook: [master] one page modified
parent
8952ab62
Changes
1
Hide whitespace changes
Inline
Side-by-side
contributors-guide/adding-changing-a-page/make-page-component-reactive.md
View file @
bfdf06bf
...
...
@@ -65,9 +65,11 @@ Import the following file in the ./js directory and change its extension to .js
{% file src="../../.gitbook/assets/text.json" caption="Data source" %}
In your new page, import the module using argument destructruring.
```
javascript
import
{
text
}
from
'
../js/test
'
```
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment