-
Notifications
You must be signed in to change notification settings - Fork 236
Open
Labels
Description
Hi!
Congrats for this lib. It is great!
I am trying to make it run with a new instance of create-react-app. I already installed the package npm -i --save api-console, and my code is:
import "api-console";
import "./App.css";
function App() {
return (
<div className="App">
<header className="App-header">
<api-console
style={{ height: "400px" }}
modelLocation="/api-model.json"
/>
</header>
</div>
);
}
export default App;I've got: Uncaught SyntaxError: Identifier 'module' has already been declared
It seems create-react-app and api-console both declared module?
Can anyone help me?
Thanks.
ottony