Angular, React & Vue
foal connect angular ../frontend
foal connect react ../frontend
foal connect vue ../frontend
Angular, React and Vue all provide powerful CLIs for creating frontend applications. These tools are widely used, regularly improved and extensively documented. That's why Foal CLI do not provide ready-made features to build the frontend in their place.
Instead, FoalTS offers a convenient command, named connect
, to configure your frontend CLI so that it interacts smoothly with your Foal application. This way, you do not have to worry about the details of the configuration when starting a new project. You can leave this until later if you need it.
Creating a new Application
Angular
mkdir my-app
cd my-app
foal createapp backend
ng new frontend
cd backend
foal connect angular ../frontend