I followed this tutorial and in Laravel 5.4.I could test api this sample in postman without any problem but I can not get correct result in The Front-End.I think some configure in this sample is different in laravel 5.4. i made resources/views/index.blade.php but int the page said make in resources/views/index.php index.php
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Angular-Laravel Authentication</title>
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.css">
</head>
<body ng-app="authApp">
<div class="container">
<div ui-view></div>
</div>
</body>
<!-- Application Dependencies -->
<script src="node_modules/angular/angular.js"></script>
<script src="node_modules/angular-ui-router/build/angular-ui-router.js"></script>
<script src="node_modules/satellizer/satellizer.js"></script>
<!-- Application Scripts -->
<script src="scripts/app.js"></script>
<script src="scripts/authController.js"></script>
<script src="scripts/userController.js"></script>
</html>
when I saw project in browser all scipts that add in index.blade.php was loaded but I could not see any thing in ui-view div.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire