Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 249 Bytes

useFavicon.md

File metadata and controls

16 lines (10 loc) · 249 Bytes

useFavicon

Vue side-effect hook sets the favicon of the page.

Usage

import {useFavicon} from 'vue-next-use';

const Demo = () => {
  useFavicon('https://cdn.sstatic.net/Sites/stackoverflow/img/favicon.ico');

  return null;
};