Skip to content

How import from CDNs, mainly unpkg? #3

@backspaces

Description

@backspaces

I saw prism-code-editori on unpkg:
https://unpkg.com/browse/prism-code-editor@2.2.2/
The dist/ dir seemed to have what I need but I can't find the imports corresponding to the readme docs.

Ex:

import {
     minimalEditor, basicEditor,
  fullEditor, readonlyEditor
} from "prism-code-editor/setups"
import "prism-code-editor/grammars/javascript"

Although dist/setups exists, it doesn't seem to have the editors.

An example using unpkg or other CDNs would help? It might be there and I just missed it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions