/HoplonNavbarSvgProblem

A repo showing a problem with SVG and Hoplon + Bootstrap's Navbar

Primary LanguageClojure

navbar

The Bootstrap Navbar's "hamburger" menu button doesn't work when hoplon.svg is required (doesn't need to be used, just required). This button shows up when you decrease the window size (shrink the browser) to mobile layout size. Pressing the button clears the entire page, rather than showing a dropdown menu of navbar items.

Uncommenting this line removes the require for hoplon.svg and the navbar works again.

Dependencies

Usage

Development

  1. Start the dev task. In a terminal run:

    $ boot dev

    This will give you a Hoplon development setup with:

    • auto compilation on file changes
    • audible warning for compilation success or failures
    • auto reload the html page on changes
    • Clojurescript REPL
  2. Go to http://localhost:8000 in your browser. You should see "Hello, Hoplon!".

  3. If you edit and save a file, the task will recompile the code and reload the browser to show the updated version.

License

Copyright © 2017, Your Name Goes Here