My question is straight forward
var path = './App.vue'
//var App = require(path); //THIS WILL NOT WORK
var App = require('./App.vue'); //THIS WORKS
DEMO HERE : require() does not accept javascript variable having string
If I want to make it work as to accept javascipt varibales as strings, what I should do.