primevue-mirror/service/PricingService.js

12 lines
262 B
JavaScript
Raw Normal View History

2023-02-28 08:29:30 +00:00
async function fetchPricing() {
try {
const response = await fetch('https://www.primefaces.org/cdn/pricing/uikit.json', { cache: 'no-store' });
return response.json();
} catch {
return null;
2022-12-08 12:26:57 +00:00
}
}
2023-02-28 08:29:30 +00:00
export default fetchPricing;