https://github.com/ehsanhasani/laravel-5-angular-4
start project laravel 5.4 with angular 4
https://github.com/ehsanhasani/laravel-5-angular-4
angular angular4 laravel5 laravel54
Last synced: 8 months ago
JSON representation
start project laravel 5.4 with angular 4
- Host: GitHub
- URL: https://github.com/ehsanhasani/laravel-5-angular-4
- Owner: ehsanhasani
- Created: 2017-06-02T06:58:41.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-03T08:38:40.000Z (almost 9 years ago)
- Last Synced: 2025-07-22T13:11:32.898Z (8 months ago)
- Topics: angular, angular4, laravel5, laravel54
- Language: PHP
- Homepage:
- Size: 220 KB
- Stars: 8
- Watchers: 5
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# laravel 5.4 with angular 4 start project
## Installation:
```
composer install
npm install
```
Create `.env` file (can be based on `.env.example`
```
php artisan key:generate
```
## Building
```
npm run dev
```
## Watching
```
npm run watch
```
## Server
```
php artisan serve
```
## To include component template to the component use following code:
```ts
'template': require('./app.component.html'),
```
## To include component style to the component use following code:
```ts
'styles': [`${require('./app.component.scss')}`]
```