Quick start
@hyhello/vue-fullscreen
The @hyhello/vue-fullscreen component for vue2, supports single page applications.
Read this document in: 简体中文.
Examples
Use Setup
install @hyhello/vue-fullscreen
npm install @hyhello/vue-fullscreen --save
Vue mount
// global use
import Vue from 'vue';
import vueFullscreen from '@hyhello/vue-fullscreen';
// use @params:global configuration
Vue.use(vueFullscreen, [options]);
// or Local use
import { Fullscreen } from '@hyhello/vue-fullscreen';
export default {
components: { Fullscreen }
};