Open tpluscode opened 2 years ago
Hi @nicholsn. Thank you for your interest in my work and kind words.
The playground is exactly what it is, an app itself, and not the simplest possible so that it shows the various configuration in options actions.
I wanted started building more focused examples but need got too far. Shaperone itself is intended to be used in a larger application and thus will inevitable require some code around it which handles the shape and resource data (RDF graphs in memory)
See here for a minimal example which sets up a scene for using Material components for https://studio.webcomponents.dev/edit/O8SwE2klRV1wMB87Rkh2?branch=material%40fbQAKZxI0hRBvfrLnXURugkAAH72&p=website
Nice, that minimal example looks like a great place to start and is working in the browser, but if I try to clone the project locally the build fails. Am I doing something wrong here?
git clone git@github.com:hypermedia-app/shaperone-examples.git
cd shaperone-examples
git checkout material
yarn install
yarn serve
Full error message:
Yes, apparently it is a limitation of the webcomponents.dev page itself. It does some magic to get up and running and the only way to run an example as-is is through the browser
The best I can can suggest right now is to set a project as you typically would and use this example as guidance for how to use and configure the component
@tpluscode do you recommend sticking with the playground here or are there other examples where I could get started with a simple app?
Originally posted by @nicholsn in https://github.com/hypermedia-app/shaperone/issues/201#issuecomment-1170042706