Skip to content

Few ideas to improve examples #5

@mgm1313

Description

@mgm1313

Nice to have some examples around OpenApi42! I tried running it on my local Mac, and it worked on the first try! Some small remarks I noted that would be cool improvements:

  • The readme could be clearer: After setting up, you can run an example by navigating to its directory and then using npm start. This way, there's no confusion about using npm start to get to the directory.
  • I got this message on running npm start, it didn't fail the build, but for a moment, I thought so:
(!) Missing shims for Node.js built-ins
Creating a browser bundle that depends on "assert", "http", "fs/promises" and "stream". You might need to include https://github.com/FredKSchott/rollup-plugin-polyfill-node
  • The example ends with the message: Server started (8080) but it would be cool to include a link I can click; for example, NextJS does this:
    CleanShot 2024-05-07 at 19 21 21

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions