Tic-tac-toe: Create project
Create a project called tictactoe-reagent
Use Leiningen build tool to create a new Clojurescript project, using the figwheel project template.
lein new figwheel tictactoe-reagent -- --reagent
The project created should have the following files and directories
You can use any command line or graphical file browser to view the project structure.
Figwheel template & options
figwheel template for Leiningen creates a basic Clojurescript project driven by Figwheel.
The figwheel template takes several options,
--om, each of which creates a basic project with the respective libraries.
-- between the project name and
--reagent option ensures this option is passed to the template, rather than being passed to Leiningen itself.