We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, just curious do you have example how to implement dynamic import in page.js?
The text was updated successfully, but these errors were encountered:
I have implemented dynamic import with page.js and webpack v4 like below. It has worked well.
page('/account', function () { import( /* webpackChunkName: "account-view" */ '../components/Account' ) .then(function (moduleWrap) { var accountView = moduleWrap.default; render(accountView); }) .catch(importErrorHandler); });
For details, see Georap at GitHub (previously Tresdb) and search for router files under /client/js/routes/.
/client/js/routes/
Sorry, something went wrong.
No branches or pull requests
Hi, just curious do you have example how to implement dynamic import in page.js?
The text was updated successfully, but these errors were encountered: