Is it possible in modern browsers to use the Directive require?

As I understand in the latest JS standards were introduced with the require Directive, which was formerly the library function.

The documentation for Vue-js written:
"If you use browserify or webpack to bundle your code, you can do this:"
template: require('./path/to/templatefile.html')

Whether it is possible to dispense with browserify and webpack?
July 8th 19 at 16:09
3 answers
July 8th 19 at 16:11
in the latest JS standards were introduced Directive require

No.
Whether it is possible to dispense with browserify and webpack?

No. Any assembler/compiler/transelator needed.
In pure js has no such feature.
Not what is not, and likely never will. - cesar.Muller commented on July 8th 19 at 16:14
whence infa? - genevieve_Upton commented on July 8th 19 at 16:17
July 8th 19 at 16:13
Will import
However, it will not connect JS files :) It is needed only for "pulling" variables from other modules. - cesar.Muller commented on July 8th 19 at 16:16
: actually, will, modules, can be declared in other files. - genevieve_Upton commented on July 8th 19 at 16:19
: Yes, modules can be declared in other files, but use these other files will have the old - fashioned way via script - cesar.Muller commented on July 8th 19 at 16:22
: okay:) - Rex.Bayer90 commented on July 8th 19 at 16:25
July 8th 19 at 16:15
Net

Find more questions by tags JavaScript