Skip to content

Add a /view route that shows just the sketch result #32

@fdb

Description

@fdb

Add a special route, either in editor.js or using firebase.json to just show the result of the sketch without the editor. This page should:

  • load the sketch from the Firebase REST API.
  • set the seed if specified in the URL (?seed=ABC)
  • render the script
  • show the output as HTML on the page
  • have minimal dependencies (ideally no dependency on firebase.js / editor.js)

This is needed to solve #16 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions