How to make a utility function available to all components

前端 未结 0 911
攒了一身酷
攒了一身酷 2020-12-11 11:44

Assume that you have written a function that is needed by all components.

How can this be made available to everything, without an import in every compon

相关标签:
回答
  • 消灭零回复
提交回复
热议问题