The file-based CMS for your Nuxt application, powered by Markdown and Vue components.
MIT License
Published by farnabaz over 1 year ago
undefined
url (b157500b)Published by farnabaz over 1 year ago
<!--more-->
(#1801)404
error on redirected pages (#1770)blank
prop with target
(#1828)_path
query (#1794)og:title,url,description
meta tags and prefix og:image
with host (#1769)baseURL
(#1833)sitemap.md
(#1772)ContentRenderer
source link (#1790)autoImport
(#1842)Published by farnabaz almost 2 years ago
api.baseURL
and deprecate base
(#1695)start
and finish
hooks (#1744)stripQueryParameters
experimental flag)_locale
(#1748)Published by farnabaz almost 2 years ago
Published by farnabaz almost 2 years ago
Published by farnabaz about 2 years ago
navigation.redirect
from _dir
files (#1545)_dir
field in contents (#1613)documentDriven
configs optional (#1539).md
link (#1556)<ContentList>
: Respect query.path
when path
is missing (#1598)<ContentDoc>
: Render blink in SSG (#1600)defineEventHandler
(#1603)queryContent
: Use path argument as prefix if there is another condition (#1612)client only
-> client-only
(#1535)findSurround
usage (#1609)Published by farnabaz about 2 years ago
<Markdown>
is deprecated in favor of new <ContentSlot />
component. The usage is the same as before.only
and without
(#1200)MarkdownParsedContent
for improved type generics (#1199)fetchNavigation
or <ContentNavigation>
(#1206)_dir.yml
to filter navigation (#1261)@nuxt/content
feature (#1279)<head>
binding (#1295)web-types.json
for WebStorm (#1288)_dir.yml
(#1328)<markdown>
: Support fallback default slot (#1405)unist/mircomark
stack (#1468)navigation: false
(#1208)ParsedContentMeta
(#1196)QueryBuilderParams
keys to partial (#1203)null
data (#1230)h1-6
tags (#1223)findOne
(#1224)ellipsis.vue
) (855bb383)$in
operator (#1277)index
as substring (#1334)@nuxt/kit
from runtime bundle (#1346)highlight
option (#1372)head.meta
before manipulating (#1370)components/content
in layers for extends (#1404)useRoute
(#1408)where
(c71c79bd)content
directory has higher priority (#1414)components/content
is on top in layers (#1418)_layers
(#1455)<ContentRenderer>
: Prioritize default slot (#1460)useContentHead
was not respecting og:image
props (#1461)<MarkDown>
: Prevent multiple deprecation log (#1497)extensions
correctly (#1204)remark-mdc
package (#1315),
(#1330)highlight.preload
(#1436)<Markdown>
(ac95d137)_params
to api routes (#1463)page:content:start
hook (45f696ba)unctx
from dependencies (#1413)extensions
correctly (#1204)Published by Tahul over 2 years ago
Since #1176, we've modified the descending sorting behavior to be -1
instead of 0
to stick with Mongo sort syntax.
- queryContent('/my-directory').sort({ createdAt: 0 })
+ queryContent('/my-directory').sort({ createdAt: -1 })
We added content:file:beforeParse
and content:file:afterParse
hooks to manipulate the data before and after its transformation, you can read more in the advanced section of the documentation. PR #1160 by @farnabaz
_path
not used properly (#1141) by @GerryWilko in https://github.com/nuxt/content/pull/1143
-1
for descending same as mongo syntax by @farnabaz in https://github.com/nuxt/content/pull/1176
_title
rename to title
by @cawa-93 in https://github.com/nuxt/content/pull/1181
--shamefully-hoist
argument to pnpm install by @Julien-R44 in https://github.com/nuxt/content/pull/1159
Full Changelog: https://github.com/nuxt/content/compare/2.0.0...2.0.1
Published by Tahul over 2 years ago
After months of work we are finally officially releasing @nuxt/content v2.
This update main objective was to be fully compatible with Nuxt 3.
It also comes with new features and possibilities to discover:
<ContentDoc>
, <ContentList>
, and other powerful new componentsIn addition to all the current features from @nuxt/content v1:
This could not have been possible without the hard work from the @nuxt community!
A special thanks to @farnabaz, @Atinux, @pi0, @danielroe, @clemcode who all closely contributed to this release.
Published by pi0 about 3 years ago
:is="tag"
to nuxt-content-container
(ef7b18d)QueryBuilder.fetch()
(#825) (4cc224e)Published by pi0 over 3 years ago
Published by benjamincanac over 3 years ago
Published by benjamincanac about 4 years ago