userfrosting / recipe-js-package

Recipe : Adding a 3rd party Javascript package

Home Page:http://learn.userfrosting.com/recipes/external-js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Recipe : Adding a 3rd party Javascript package

http://learn.userfrosting.com/recipes/external-js

License:Other


Languages

Language:Twig 50.6%Language:PHP 38.6%Language:JavaScript 7.9%Language:Dockerfile 2.9%