To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

README.md 820 Bytes
Newer Older
kchung's avatar
kchung committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# This is template to use Reveal.js for presentations.

Warning: the template is not yet completed.

## Dependency
	
- Since we are using [Vite](https://vitejs.dev/) as front-end, [Node.js](https://nodejs.org/en/) version >=12.0.0 is required.

## How to use

First, initialize a plain JavaScript Vite project

```bash
npm init @vitejs/app reveal-vite --template vanilla
```

Install dependencies

```bash
cd reveal-vite
npm install
npm i -D reveal.js
```

Now, add this submodule to your presentation folder

```bash
git submodule add git@gitlab.ethz.ch:kchung/ifd-theme.git
```

- Note: if you have some conflict with .gitignore, use -f flag

Copy ifd-theme/main_setup.js to ./main.js

Edit index.html to create reveal.js slides

Then, start a local server to bundle and serve the presentation
```bash
npm run dev
```