gridsome / gridsome/gridsome.org
External Script Importing & Requiring Documentation
Open
invalid
- Dominant language
- Vue
- Stars
- 292
- Forks
- 301
- PR merge metrics
- No merged PRs in 30d
Description
There's a mismatch in the docs between the text and code sample. The text suggests that libraries need imported _and_ requiring it while the code only imports it. Which is correct?
https://gridsome.org/docs/assets-scripts#using-an-external-library
> If you want to use a external javascript library inside your component you can do so by importing the component and requiring it once vue components are mounted.
>
> ...
>
> import moment from 'moment';
>
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.