react-planner icon indicating copy to clipboard operation
react-planner copied to clipboard

How to add exprots default function from browser to javascript using?

Open xuhande opened this issue 6 years ago • 0 comments

Hi, Everybody. I want to use react-planner to learning add functionality that i can export to the browser for call. Previous examples use : in entry file import tools from './tools.js'; var test = { tools: tools };

// create upper case alias fro main lib object in browser environment window.TEST = test; export default TEST;

in front end use:

but now, how to alias main lib for react-planner object in browser environment.

Thank you very much.

xuhande avatar Feb 20 '19 08:02 xuhande