Hello, I want to use the app component in a different component, but the object returns undefined.
this my app.js file :
import routes from ‘./routes.js’;
import App from ‘…/app.f7.html’;var app = new Framework7({
root: ‘#app’,
component: App,
name: ‘Go’,
theme: ‘auto’,
routes: routes,
});export default app;
the code in the html file I want to use
<script> import app from "./js/app.js"; console.log(app) => return undefined </script>