Closed
Description
What I'm trying to do:
I would like to use the automatic global component registration from Vue as outlined in this guide.
This approach however relies on webpacks require.context method, which is outlined here.
Problem
require.context does not seem to be support by codesandbox (❤) yet, which is why it throws the following error:
My request
Could you please add support for require.context, since this would enable global auto registration which allows us to omit tedious component imports everywhere and make it even easier for beginners to get started with Vue (imo).
Codesandbox
https://codesandbox.io/s/github/MPH-Bali/green-village-project/tree/develop/public
Software | Name/Version |
---|---|
Сodesandbox | PROD-1523452809 |
Browser | Chrome/65.0.3325.181 |
Operating System | Windows/10.0.16299 |