My Cool Project
GitHubGitHub
  • My home page!
  • Introduction to Components
  • Code examples
  • SWR
  • Advanced nextra
    • The next.js @ alias
    • Accesing Config
  • getServerSideProps example
  • Loading Dynamically a mdx page with getServerSideProps
    • Secret
  • Example of protected content in a client component
  • Example of reading files in a mdx page
  • Another example of reading files in a mdx page
  • Example of passing info to getStaticProps via context
  • Passing information to getStaticProps
  • Simple example of getStaticProps with cats!
  • Reading a .md file from a .mdx page using getStaticProps (no processing)
  • Building a mdx file using getServerSideProps and buildDynamicMDX preserving Nextra style dynamically reading a mdx file
  • Building a mdx file using getStaticProps and buildDynamicMDX
  • mdx page with useEffect using a client component
  • Combining buildDynamicMDX with Authentication and getServerSideProps and using a client component
  • Live Components
    • Login
    • Page having a mix of private and public content
Question? Give us feedback →Edit this page
Example of passing info to getStaticProps via context

File Reader Example

  • 2024-12-08-leccion.md

    # Clase del 2024/12/08
    
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod temp...
  • 2024-12-09-leccion.md

    # Clase del 2024/12/09
    
    ## Temas a tratar
    
    1. Introducción a la clase
    2. Revisión de conceptos anter...
Another example of reading files in a mdx pagePassing information to getStaticProps

MIT 2024 © Nextra.