code: def vue_find_resource(name, use_minified=None):
      
      target = list(filter(lambda x: x['name'] == name, current_app.config['VUE_CONFIGURATION']))
      if not target:
          raise ValueError('Can not find resource from configuration.')
      target = target[0]
      use_minified = (isinstance(use_minified, bool) and use_minified) or current_app.config['VUE_USE_MINIFIED']
      CdnClass = LocalCDN if target['use_local'] else getattr(cdn, target['cdn'], CDN)
      resource_url = CdnClass(name=name, version=target.get('version', ''),
                              use_minified=use_minified).get_resource_url()
      if resource_url.startswith('//') and current_app.config['VUE_CDN_FORCE_SSL']:
          resource_url = 'https:%s' % resource_url
      return resource_url
docs: Resource finding function, also available in templates.
  
      :param name: Script to find a URL for.
      :param use_minified': If set to True/False, use/don't use minified.
                            If None, honors VUE_USE_MINIFIED.
      :return: A URL.