Vue rendering in browser
HTML
<script src="https://unpkg.com/vue@latest/dist/vue.js"></script>
<div id="result"></div>
JavaScript
var wrapper = document.createElement('div')
wrapper.innerHTML = '
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="https://xyzpagebuilder.com/">
<title>Dashboard</title>
<link href="https://xyzpagebuilder.com/build/sites.css" rel="stylesheet">
<link rel="shortcut icon" href="https://xyzpagebuilder.com/img/favicon.png">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
<script src="https://xyzpagebuilder.com/assets/js/html5shiv.js"></script>
<script src="https://xyzpagebuilder.com/assets/js/respond.min.js"></script>
<![endif]-->
<!--[if lt IE 10]>
<link href="https://xyzpagebuilder.com/assets/css/ie-masonry.css" rel="stylesheet">
<script src="https://xyzpagebuilder.com/assets/js/masonry.pkgd.min.js"></script>
<![endif]-->
<script>
var baseUrl = 'https://xyzpagebuilder.com/';
var siteUrl = 'https://xyzpagebuilder.com/';
</script>
<style>
body {background-color: rgba(204, 204, 204, 0.21) !important}
</style>
</head><body class="sites">
<nav class="mainnav navbar navbar-inverse navbar-embossed navbar-fixed-top" role="navigation" id="mainNav">
<div class="navbar-header image-brand">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse-01">
<span class="sr-only">Toggle Navigation</span>
</button>
<a class="navbar-brand" href="sites">
<img src="https://xyzpagebuilder.com/images/uploads/logo.png">
</a>
</div>
<div class="collapse navbar-collapse" id="navbar-collapse-01">
<ul class="nav navbar-nav">
<li class="active">
<a href="https://xyzpagebuilder.com/sites">
<span class="fui-windows"></span>
Sites </a>
</li>
<li >
<a href="https://xyzpagebuilder.com/asset/images">
<span class="fui-image"></span>...