Sutil.Generator
This is a Shoelace and Fast wrapper generator for Sutil heavily inspider in react-generator
Sutil.Shoelace
or Sutil.Fast
project
Generate To generate the Sutil.Shoelace
or Sutil.Fast
project you will need to have node installed in your machine.
- We download the
@shoelace-style/shoelace
package which contains ametadata.json
file that allows us to automate the generation of the F# source code.In the case of Fast we read each component's metadata file to do the file generation
- Once the package is downloaded the project proceeds to generate one file for each component listed in the metadata file
To kick off these events run
./build.ps1 fast
Normally you would do this to either
- Draft a new release
- Use Sutil.Shoelace or Sutil.Fast to improve the docs website
Future Ideas
-
Propose a json schema to different librariesThere's already a Custom Elements Manifest - Support Custom Elements Manifest to generate libraries agnostically
- Decouple Shoelace to the generator
- Decouple Sutil from the generation phase (e.g allow this generator to create Feliz components or other DSL Flavor / Library)