-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@nuxtjs/device 探究 #112
Comments
作用:将设备类型(包括浏览器的检测)的标志注入上下文和组件实例,用来做设备检测。
设备检测:
通过检测浏览器,可以使用此模块进行图像格式设置。
|
动态更改布局:
添加自定义标志:
|
注册插件:this.addPlugin方法
|
defu包:递归分配默认属性 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/nuxt-community/device-module
The text was updated successfully, but these errors were encountered: