Commit a174afcb authored by Anthony Fu's avatar Anthony Fu

feat: enable devtools

parent 3d14fa48
......@@ -3,5 +3,8 @@ export default defineNuxtConfig({
plugins: {
'postcss-nesting': {}
}
},
devtools: {
enabled: true
}
})
......@@ -25,6 +25,7 @@
"lint": "eslint --ext .vue,.js,.ts --ignore-path .gitignore ."
},
"devDependencies": {
"@nuxt/devtools": "^0.4.2",
"@nuxt/eslint-config": "^0.1.1",
"@types/node": "^18.16.0",
"eslint": "^8.39.0",
......
This diff is collapsed.
......@@ -13,7 +13,7 @@ const feedUrls: Record<keyof typeof feedsInfo, string> = {
}
async function fetchFeed (feed: keyof typeof feedsInfo, page = '1') {
const { fetchItem } = await import('./item')
const { fetchItem } = await import('./item.get')
const entries = Object.values(
await $fetch(`${baseURL}/${feedUrls[feed]}.json`)
).slice(Number(page) * 10, Number(page) * 10 + 10) as string[]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment