Skip to content

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

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.

clojure -T:project/create :template practicalli/landing-page :name practicalli/website-name

src/practicalli/landing_page.clj is the main ClojureScript source code file which is used to generate the JavaScript app loaded into the browser.