Code Monkey home page Code Monkey logo

rsbuild-spectacle-mdx-boilerplate's Introduction

RSBuild + Spectacle + MDX Example

This is a boilerplated version of my own personal presentation slides setup.

This started life as a combination of Create-React-App (+ CRACO overrides), Spectacle for the slide setup, and Spectacle's MDX loader added to the Webpack config.

After using that for a few years, I just migrated it to use RSBuild, which is an abstraction layer on top of the Webpack-compatible RSPack build tool.

Use of RSBuild+RSPack allowed me to reuse the spectacle-mdx-loader Webpack loader for processing the slides, and build the slides a lot faster (builds went from ~30s with CRA to ~2s with RSBuild).

I've also included all my personal slides setup, theming, and custom MDX components that I've built up over the years.

Each presentation is a separate subfolder under src/presentations with its own MDX files. I've also got a common set of slide intros in src/presentation/common/, and mix those in to the start of each slide deck.

I swap which presentation I'm showing by changing the slides import in src/App.tsx, and then hand-edit the <title> attribute in public/index.html.

rsbuild-spectacle-mdx-boilerplate's People

Contributors

markerikson avatar

Stargazers

Hung Hoang avatar Luke Howsam avatar Hieu Quang avatar Nguyen Hoang Nhat avatar  avatar Karl Horky avatar  avatar danielsdesk avatar Nicolas Beaussart avatar Kevin Elliott avatar Danny Phan avatar neverland avatar Zack Jackson avatar

Watchers

 avatar  avatar

Forkers

letanloc1998

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.