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

https://github.com/lucenarenato/zf2-reactjs

student zend framework 2 development, implement reactjs | php
https://github.com/lucenarenato/zf2-reactjs

bundle npm php reactjs zend-framework zf2

Last synced: about 2 months ago
JSON representation

student zend framework 2 development, implement reactjs | php

Awesome Lists containing this project

README

        

ZendSkeletonApplication
=======================

## student zend framework 2 development, implement reactjs

`composer global require composer/composer`
`npm install`

`npm run dev`

- http://localhost:8080/api

```bash
$ cd path/to/install
$ php -S 0.0.0.0:8080 -t public/ public/index.php
# OR use the composer alias:
$ composer serve
```

- rm `"siad007/zf2-reactjs-module": "dev-master"`
- "reactjs/react-php-v8js": "^2.0"

- https://packagist.org/packages/zendframework/zend-component-installer
- https://packagist.org/packages/zendframework/zend-mvc#2.5.0
- composer require laminas/laminas-json

- sudo apt install webpack
- webpack -w

removido layout
```php
inlineScript();
$script->appendFile($this->basePath() . '/js/app.js');
//$script->appendFile($this->basePath() . '../App/index.js');

echo $script;
?>
```

## Renato Lucena 12/2020