Skip to content

Roma-JS/roma-js-opening-slides

Repository files navigation

RomaJS intro slides

Intro slides used at the beginning of RomaJS meetings.

Development

Requirements

This project requires node 20 and uses pnpm as package manager.

If you have nvm installed run

nvm use

pnpm & corepack

You do not need to install pnpm, you just need have node 20 installed and then enable corepack:

corepack enable

You should then be able to run pnpm normally in this project, e.g.

pnpm run build

Start project

To start the slide show:

Edit the slides.md to see the changes.

Learn more about Slidev on documentations.

Build

pnpm run build

Preview

exec build script then run:

pnpm run preview

Deployment

There's a github action that publishes the slides on Github pages whenever main is updated.

Change theme

Add or update the theme config object in the frontmatter of slides.md.

# used for theme customization, will inject root styles as `--slidev-theme-x` for attribute `x`
themeConfig: # xmas theme
  primary: '#ffb200'
  bg-primary: '#111'

See https://sli.dev/custom/ for more details.