Skip to content

A simple demo for using web-js and web-twig for creating components.

License

Notifications You must be signed in to change notification settings

sulu/web-js-twig-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web JS and Web Twig Demo

With the combination of web-js and web-twig you can easily manage your js components and control your loaded JS code.

Installation

To install the demo you should clone this project:

https://github.com/sulu/web-js-twig-demo.git
cd web-js-twig-demo

Then install the PHP dependencies using composer.

composer install

Then go into the assets/website folder and install the JS dependencies using npm.

cd assets/website
npm install

Start the project

The easiest way to start the demo is by using the PHP internal webserver.

php -S 127.0.0.1:8000 -t public

When you now visit http://127.0.0.1:8000 the demo should appear.

About

A simple demo for using web-js and web-twig for creating components.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages