Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 763 Bytes

deck.mdx

File metadata and controls

58 lines (39 loc) · 763 Bytes

import React from 'react' import { Head, Notes } from 'mdx-deck'

export { dark as theme } from 'mdx-deck/themes'

<title>Deploying MDX Desk to Zeit now</title>

Welcome to my Talk

Deploying a MDX-DECK PRESENTTION APP TO ZEIT NOW


<title>Deploying MDX Desk to Zeit now</title>

now.json

{
  "version": 2,
  "name": "mdx-desk-to-now",
  "builds": [
    {"src": "package.json", "use": "@now/static-build"}
  ]
}

<title>Deploying MDX Desk to Zeit now</title>

Scripts "package.json"

{
    "scripts": {
        ...
        "now-build": "mdx-deck build demo-advanced.mdx --no-html && cp -r images dist/ && cp -r snippets dist/"
    }
}

hello