diff --git a/docs/figwheel-project/index.md b/docs/figwheel-project/index.md index 7ef39dd5..a7913c0b 100644 --- a/docs/figwheel-project/index.md +++ b/docs/figwheel-project/index.md @@ -13,7 +13,20 @@ In this section we will create a ClojureScript project using Figwheel to manage * [Serving assets](serving-assets.md) * [Using the REPL](using-the-repl.md) -> **Hint** Once you have understood the basics of figwheel, you can use a Leinigen template to automatically create a project structure and build configuration file. -> It is important to understand how Figwheel works, so its easy to change the project build file should you need to. +> 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. + +=== "Practicalli Clojure CLI Config" + `:project/create` alias is provided by [Practicalli Clojure CLI Config](https://practical.li/clojure/clojure-cli/practicalli-config/) and uses the [deps-new]() tool to create projects, optionally with [Practicalli Project Templates](https://practical.li/clojure/clojure-cli/projects/templates/practicalli/) + + Create a new project using the [`practicalli/landing-page` template](https://practical.li/clojure/clojure-cli/projects/templates/practicalli/landing-page/){target=_blank}. + + ```shell + 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.