- ReasonML Quick Start Guide
- Raphael Rafatpanah Bruno Joseph D'mello
- 169字
- 2021-07-02 12:34:15
Setting Up a Development Environment
In addition to being a new syntax for OCaml, Reason is a toolchain that makes it easy to get started. In this chapter, we'll do the following:
- Learn about the Reason toolchain
- Configure our editor
- Use bsb to start a pure Reason project
- Learn about bsconfig.json
- Write an example pure Reason application that manipulates the DOM
- Use bsb to start a ReasonReact project
- Get comfortable using webpack within a Reason project
To follow along, clone this book's GitHub repository and start from this chapter's directory. You're also welcome to start from a blank project:
git clone https://github.com/PacktPublishing/ReasonML-Quick-Start-Guide.git
cd ReasonML-Quick-Start-Guide
cd Chapter02/pure-reason-start
npm install
This chapter is meant to get you comfortable with the Reason toolchain. We'll have separate development environments for the pure Reason project and the ReasonReact one. After following along, you'll be comfortable enough to tweak the development environment to your liking. Don't worry about messing anything up, since we'll start fresh in Chapter 3, Creating ReasonReact Components, from another directory.
推薦閱讀
- 通信網絡基礎與設備
- 面向物聯網的CC2530與傳感器應用開發
- INSTANT PhpStorm Starter
- 社交電商運營策略、技巧與實操
- Spring Cloud微服務架構進階
- SSL VPN : Understanding, evaluating and planning secure, web/based remote access
- 光纖通信系統與網絡(修訂版)
- Windows Server 2012 Hyper-V虛擬化管理實踐
- 深入理解Nginx:模塊開發與架構解析
- 沖擊:5G如何改變世界
- Guide to NoSQL with Azure Cosmos DB
- Python API Development Fundamentals
- 趣話通信:6G的前世、今生和未來
- Learning Dart
- Scala Programming Projects