UNPKG

nuxt

Version:

Nuxt is a free and open-source framework with an intuitive and extendable way to create type-safe, performant and production-grade full-stack web applications and websites with Vue.js.

20 lines (19 loc) 398 B
export * from "vue"; export const install = () => { }; export function set(target, key, val) { if (Array.isArray(target)) { target.length = Math.max(target.length, key); target.splice(key, 1, val); return val; } target[key] = val; return val; } export function del(target, key) { if (Array.isArray(target)) { target.splice(key, 1); return; } delete target[key]; }