How to chain metaInfo which are depending on each other
Since v2.1 you can add a callback attribute to your metaInfo proerties which you can use to chain loading.
If you e.g. need to load an external script before you can implement functionality based on that external script, you can use the callback and skip attributes to implement chaining of those scripts. See the API entry of the callback attribute for an example
The callback / onload event is supported on link
, style
and script
metaInfo properties
当前内容版权归 nuxtjs.org 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 nuxtjs.org .