Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 268 Bytes

useTitle.md

File metadata and controls

19 lines (14 loc) · 268 Bytes

useTitle

Vue side-effect hook that sets title of the page.

Usage

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

const Demo = {
    setup() {
        useTitle('Hello world!', {
            restoreOnUnmount: true
        });

        return null;
    }
};