Closed ElMassimo closed 2 years ago
โ๏ธ Deploy Preview for iles-docs canceled.
๐จ Explore the source changes: 959a518cc19c79d3f7428b6380dbb3b3cd3a0c67
๐ Inspect the deploy log: https://app.netlify.com/sites/iles-docs/deploys/61b24babf601250008699ea3
โ๏ธ Deploy Preview for the-vue-point-with-iles canceled.
๐จ Explore the source changes: 959a518cc19c79d3f7428b6380dbb3b3cd3a0c67
๐ Inspect the deploy log: https://app.netlify.com/sites/the-vue-point-with-iles/deploys/61b24babf4b8860008371bf5
Description ๐
This pull request replaces this fork of
vite-plugin-pages
with a new@islands/pages
module in order to provide a better experience when customizing frontmatter or routes.The
@islands/frontmatter
module is now discontinued, and its functionality was moved to@islands/mdx
.Features โจ
route.frontmatter
making it possible to customize the path based on frontmatter propertiesvite-plugin-pages
compares the unextended data which breaks HMR)Bug Fixes ๐
frontmatter.meta.href
is now set after all changes to the path, ensuring it's always correctBreaking Changes ๐ฃ
<route>
block in SFCs is now<page>
, which reflects the fact that it can specify frontmattermarkdown.extendFrontmatter
is now at the top level, as extendFrontmatterpages.extendRoute
is now at the top level, as extendRoutepages.onRoutesGenerated
is now at the top level, as extendRoutes@islands/pages
An รฎles module that provides support for pages, inspired by vite-plugin-pages.
<page>
block in Vue single-file componentsextendFrontmatter is very flexible, you could use it to:
gitLastUpdated
Acknowledgements
vite-plugin-pages
: Early versions of รฎles used this wonderful library