Loading module & helpers in code stack instead of manually importing in HTML
See original GitHub issueInstead of loading in all the scripts manually in the html
file, it would be good to load them into the code stack using the import
method. This is possible as I’ve run a few tests and it works great for what we are using it for.
Each script would require an export
instead of JEEFACEFILTERAPI.<function name>
in order to work.
I can raise a PR for this no problem, just wondering if you’re open to the idea?
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Blocked because of a disallowed MIME type (“text/html”)
Loading module from “http://localhost:8080/polyfills-es2015.js” was blocked because of a disallowed MIME type (“text/html”). browser screenshot.
Read more >Module Methods - webpack
Dynamically load modules. Calls to import() are treated as split points, meaning the requested module and its children are split out into a...
Read more >Documentation - Modules - TypeScript
How modules work in TypeScript. ... Modules import one another using a module loader. ... Importing is just about as easy as exporting...
Read more >The MERN stack tutorial - LogRocket Blog
Learn all about the MERN stack in this step-by-step guide on how to use it by developing a simple CRUD application from scratch....
Read more >Upgrading from AngularJS to Angular
For applications that use a module loader, TypeScript imports and exports ... from the HTML and instead switch to calling angular.bootstrap from JavaScript, ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Okay will do 😃
Hi @jackbsv
I have added a NPM/React/Three-Fiber boilerplate to the repository: https://github.com/jeeliz/jeelizFaceFilter/tree/master/reactThreeFiberDemo
It uses facefilter NPM module (which has been revamped too) and a specific helper.