An open API service indexing awesome lists of open source software.

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

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')}`]
```