feat: Add VITE_DEV_PROXY configuration for npm registry API proxy
All checks were successful
CI / cache-and-install (push) Successful in 2m6s

This commit is contained in:
严浩
2024-09-18 13:35:17 +08:00
parent ee3d5186ff
commit 5422f68b45
5 changed files with 15 additions and 2 deletions

View File

@ -2,7 +2,7 @@
// https://vue-macros.dev/zh-CN/features/reactivity-transform.html
let count = $ref(0);
console.log(count);
// console.log(count);
function increment() {
count++;

View File

@ -25,6 +25,11 @@ const FComponent: FunctionalComponent<{ prop: string }> = (props, context) => (
</div>
</>
);
/* fetch('https://jsonplaceholder.typicode.com/posts/1')
.then((response) => response.json())
.then((json) => console.log(json)); */
fetch('/npm-registry-api/@vue%2Fbabel-plugin-jsx');
</script>
<template>