【文件属性】:
文件名称:nuxt-polyfill:轻松向您的Nuxt.js项目添加polyfills
文件大小:100KB
文件格式:ZIP
更新时间:2021-05-14 16:56:40
JavaScript
Nuxt-Polyfill
轻松将polyfill添加到您的Nuxt.js项目。
需要Nuxt> = 2
特征
:check_mark: 易于配置
:white_question_mark: 仅在需要时通过使用Feature Detection来延迟加载polyfill
:high_voltage: 旨在尽快
:wrench: 支持任何polyfill作为NPM软件包或JS文件
:star: 支持polyfill.io的
可以在加载功能之前调用检测功能
Polyfills不包含在捆绑包中,而是单独加载
入门
npm install nuxt-polyfill
将模块添加到您的nuxt.config.js :
export default {
// Configure polyfills:
polyfill : {
features : [
/*
Feature without
【文件预览】:
nuxt-polyfill-master
----.gitignore(914B)
----README.md(4KB)
----examples()
--------custom-polyfill()
----LICENSE(1KB)
----package.json(673B)
----src()
--------index.js(1KB)
--------templates()