Hello, for a more complicated dash component, I would like to run the src/demo/App.js
file to debug the component. (I am fairly new to react).
When I run nodemon App.js
, it creates the error
import React, {Component} from 'react';
^^^^^^
SyntaxError: Cannot use import statement outside a module
How can I run App.js
on a local server and use the component in the component folder?