import AxesWidget from './axes';
import ConnectionWidget from './connection';
import ConsoleWidget from './console';
import GCodeWidget from './gcode';
import VisualizerWidget from './visualizer';
import GrblWidget from './grbl';
import SpindleWidget from './spindle';

export default {
    AxesWidget,
    ConnectionWidget,
    ConsoleWidget,
    GCodeWidget,
    VisualizerWidget,
    GrblWidget,
    SpindleWidget
};

import AxesWidget from './axes';
import ConnectionWidget from './connection';
import ConsoleWidget from './console';
import GCodeWidget from './gcode';
import VisualizerWidget from './visualizer';
import GrblWidget from './grbl';
import SpindleWidget from './spindle';

export {
    AxesWidget,
    ConnectionWidget,
    ConsoleWidget,
    GCodeWidget,
    VisualizerWidget,
    GrblWidget,
    SpindleWidget
};

Update index.js