Figwheel Projectλ︎
In this section we will create a ClojureScript project using Figwheel to manage the build and auto-reloading of changes into the project
- Create Project
- ClojureScript file
- Project Build file
- Run Figwheel
- Web Page
- Run Figwheel again
- Add a counter
- Auto Reloading
- Serving assets
- Using the REPL
Understanding how Figwheel works provides clarity should a change to the project build file be required
The figwheel-main template will create the configuration files and directory structure for a project, including a simple working app.
:project/create
alias is provided by Practicalli Clojure CLI Config and uses the deps-new tool to create projects, optionally with Practicalli Project Templates
Create a new project using the practicalli/landing-page
template.
src/practicalli/landing_page.clj
is the main ClojureScript source code file which is used to generate the JavaScript app loaded into the browser.