feat: init
This commit is contained in:
19
node_modules/nuxt/dist/app/compat/capi.js
generated
vendored
Normal file
19
node_modules/nuxt/dist/app/compat/capi.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
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];
|
||||
}
|
||||
Reference in New Issue
Block a user