Skip to content

userfrosting/recipe-js-package

Repository files navigation

Recipe : Adding a 3rd party Javascript package (UserFrosting 5)

Version PHP Version License Build Codecov StyleCI PHPStan Join the chat Donate Donate

Example sprinkle for adding a 3rd party Javascript package. See the learn documentation for more information.

Installation

This sprinkle/example can be installed like any UserFrosting application or skeleton. See the installation guide for the required config and more info on the installation steps.

Quick start

git clone https://github.com/userfrosting/recipe-js-package.git
cd recipe-js-package
composer install
php bakery bake
php bakery serve

You can now access UserFrosting at : http://localhost:8080

Docker

To run inside docker :

git clone https://github.com/userfrosting/recipe-js-package.git
cd recipe-js-package
docker-compose build --no-cache
docker-compose up -d
docker-compose exec app composer install
docker-compose exec app php bakery bake

You can now access UserFrosting at : http://localhost:8080

Documentation

Contributing

This project exists thanks to all the people who contribute. If you're interested in contributing to the UserFrosting codebase, please see our contributing guidelines as well as our style guidelines.