Using a framework of choice in a Tarantula project
Tarantula CLI's config file
The tarantula CLI generates a config file during project setup.
Tarantula core wisely uses the config file to inject the desired framework as framework
.
Importing the framework declaration
The framework declaration can be imported like the snippet below.
import { framework } from "@demirtag/tarantula"
Using the framework of choice
In the actual code, using the framework is as simple as
framework.desiredFrameworkFunction();