<div id="app"></div><script> var csrfToken = "<?= Yii::$app->request->csrfToken ?>";</script>
<div id="app"></div>
<script>
var csrfToken = "<?= Yii::$app->request->csrfToken ?>";
</script>