primevue-mirror/service/NewsService.js

6 lines
185 B
JavaScript
Raw Normal View History

2022-04-07 12:57:53 +00:00
export default class NewsService {
2022-09-20 21:42:28 +00:00
fetchNews() {
return fetch('https://www.primefaces.org/cdn/news/primevue.json', { cache: 'no-store' }).then((res) => res.json());
2022-04-07 12:57:53 +00:00
}
2022-09-14 14:26:41 +00:00
}