No description
.github/workflows | ||
src | ||
.gitattributes | ||
.gitignore | ||
bsconfig.json | ||
graphql_schema.json | ||
manifest.json | ||
package.json | ||
postcss.config.js | ||
README.md |
sloan-extension
A small web-extension to put bookmarks into sloan, built in ReScript
Run Project
Inside the project directory run the following:
yarn # Builds project dependencies
yarn re:watch # Compiles Reason, builds Tailwind CSS and watches for file changes
# And in separate shells run
yarn dev # Starts the server
yarn dev:extension # Starts firefox with the extension loaded
Tailwind CSS Generator
This demo project ships with a built-in "generator" inside the bsconfig.json
.
Essentially, the generator will watch for changes to your index.css
file, and
if it changes your tailwind.css
file will be automatically re-generated.
Unfortunately, there is a slight delay in generating the tailwind.css
file
initially (and every time you clean the project), so if you get a compiler error
followed by the Building ... /../src/index.css
message from Tailwind, simply
edit a Reason file to get the PPX to recognize the newly-generated Tailwind
file.
