Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use vanilla HTML without JS components #43

Closed
Dobby89 opened this issue Jun 14, 2018 · 2 comments
Closed

Use vanilla HTML without JS components #43

Dobby89 opened this issue Jun 14, 2018 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@Dobby89
Copy link

Dobby89 commented Jun 14, 2018

Is it possible to use docz without importing JS components and instead just use basic HTML?

I currently have a hello.mdx file which looks like the following:

---
name: Hello World
---

import { Playground } from 'docz'

# Hello
<Playground components={{}}>
    <h1>Hello</h1>
</Playground>

I run yarn docz dev and get the following error:

ERROR  Failed to compile with 1 errors

This dependency was not found:
* srcdocuttons.mdx in ./.docz/app/imports.js
To install it, you can run: npm install --save srcdocuttons.mdx

System specs:

  • Windows 7
  • Node v8.9.3
  • Yarn v1.7.0
  • docz v0.2.4
@marceloavf
Copy link
Contributor

Probably related to #12

@renatorib renatorib added the duplicate This issue or pull request already exists label Jun 14, 2018
@lwxyfer
Copy link

lwxyfer commented Jul 4, 2018

I want to just use basic HTML like below.

---
name: Hello World
---

# Hello

<h1>test here</h1>

<div>basic HTML</div>

But the full page render badly. (no error, no waring)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants