Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/choicesPublic template

Build SPAs to let users answer questions from a decision tree

License

NotificationsYou must be signed in to change notification settings

bzg/choices

Repository files navigation

Choices

Choices lets you build a single page application to let users traverse a set of related options and get feedback from their choices.

choices.png

Build

  1. Copyconfig-example.yml toconfig.yml and adapt it to your needs
  2. Test your configuration withclj -M:test
  3. Compile withclj -M:js
  4. Your static files are ready inresources/public/

Develop

  1. Copyconfig-example.yml toconfig.yml and adapt it to your needs
  2. Compile withclj -M:fig
  3. Check your web browser on http://localhost:9500

Themes

Choices come with three themes:bulma, the default,chota anddsfr.

Don’t use the dsfr theme unless you areauthorized to.

To set chota as the theme, runclj -X:set :theme chota.

This will updateconfig.yml andresources/public/index.html to use chota as the theme when generating the static website.

Usage

Here are some examples whereChoices is used:

Contribute

Contributions are welcome. You can send feedback and patches to~bzg/dev@lists.sr.ht. For patches, please configure your local copy of the repository to add a prefix to the subject line of your emails:

~$ git config format.subjectPrefix 'PATCH choices'

Support the Clojure(script) ecosystem

If you like Clojure(script), please consider supporting maintainers by donating toclojuriststogether.org.

License

2019-2025 Bastien Guerry

This application is published under theEPL 2.0 license, except for the fonts inresources/public/fonts.


[8]ページ先頭

©2009-2025 Movatter.jp