Skip to content

friction at running examples #82

@unlessgames

Description

@unlessgames

Currently if one wants to check out this library and isn't familiar with spago, the readme inside the examples folder is not too helpful:

Build all examples with
```bash
npm run build-examples
```

This command doesn't actually build the purs files and running it without installing and building with spago results in an error. Maybe the readme could contain all the steps to build the examples or the npm run scripts should be setup differently like

"example-counter" : "spago build -p examples/Counter/Counter.purs && parcel build examples/Counter/counter.js --dist-dir examples/Counter/dist && parcel serve examples/Counter/counter.html"

to build and serve an example for an effortless setup.

I understand this exact solution wouldn't work with `npm run build-examples' and tests, just making a general suggestion.

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