Babel Integration
The babel-plugin-twiggle is the official Babel plugin to integrate Twiggle into your development environment. It handles JSX transformations and enables reactive expressions.
Installation
npm install babel-plugin-twiggle
# or
yarn add babel-plugin-twiggle
# or
pnpm add babel-plugin-twiggle
Usage
Add the plugin to your .babelrc file:
{
"plugins": ["babel-plugin-twiggle"]
}