@effector/trail
v0.0.1
Published
## setup
Downloads
5
Keywords
Readme
trail
setup
- Install
@effector/trail
andbabel-plugin-module-resolver
which will replace imports fromeffector
totrail/runtime
npm install -D @effector/trail babel-plugin-module-resolver
- Add plugins to babel config
{
"plugins": [
[
"effector/babel-plugin",
{
"addLoc": true
}
],
[
"babel-plugin-module-resolver",
{
"alias": {
"effector": "@effector/trail/runtime"
}
}
]
]
}
usage
- Run application in browser
- Open console
If everything is ok, then you should see in logs:
trail runtime active. will print results in 3s
And then results will appear