Skip to content

Commit

Permalink
RSS Feed (#81)
Browse files Browse the repository at this point in the history
* update to latest vue use and add missing package

* add nuxt img

* swap directus image comp

* remove commented out bits

* packages

* add types

* rss.xml to prerender routes

* server route
  • Loading branch information
bryantgillespie authored Oct 9, 2023
1 parent 36b2a4d commit 30efa45
Show file tree
Hide file tree
Showing 7 changed files with 477 additions and 7 deletions.
1 change: 1 addition & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export default defineNuxtConfig({
async 'nitro:config'(nitroConfig) {
const permalinks = await fetchPagePermalinks();
nitroConfig.prerender?.routes?.push(...permalinks);
nitroConfig.prerender?.routes?.push('/rss.xml');
},
},

Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
"eslint-config-prettier": "8.8.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-vue": "9.14.1",
"feed": "4.2.2",
"micromark": "4.0.0",
"micromark-extension-gfm": "3.0.0",
"nuxt": "3.6.5",
"nuxt-og-image": "2.0.11",
"nuxt-schema-org": "2.2.0",
Expand Down
Loading

0 comments on commit 30efa45

Please sign in to comment.