Skip to content

Latest commit

 

History

History
32 lines (28 loc) · 1.42 KB

TODO.md

File metadata and controls

32 lines (28 loc) · 1.42 KB

TODO

  • ✅ Polish basic theme
  • ✅ Let theme to decide how to render loading or loadError view
    • vite-pages core should not render any dom node. It should be done by theme
  • ✅ Let user/theme implement their own fs routing convention
  • 🔧 Composed pages can be merged into object(return object as PageData.filePath)
  • 🔧 Support static generation with external data (getStaticProps)
  • 🔧 Support static generation with dynamic routes (getStaticPaths)
    • In development, getStaticProps/getStaticPaths runs on every request
    • In production, getStaticProps/getStaticPaths runs at build time
  • 🔧 Project cleanup: don't bump version of templates when npm run ver:p
  • 🔧 improve template-lib-monorepo
  • Act as a bridge between development and documentation.

DATA node, graph, lazy/eager node

  • core
    • theme
    • pages
      • page1
        • file1.1
      • page2
        • file2.1
        • file2.2 (lazy)
        • fetched data
        • virtual module (lazy)
          • file 2.3
          • file 2.4 (lazy)

bug: routePath don't change when route from a 404 page to another 404 page