Skip to content
This repository has been archived by the owner on Jul 31, 2022. It is now read-only.
/ stimulus-demo Public archive

Multi Page Application (MPA) with pre-rendered HTML using Stimulus.js UMD

License

Notifications You must be signed in to change notification settings

tbreuss/stimulus-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stimulus.js Demo

Stimulus (by Basecamp) is a modest JavaScript framework for the HTML you already have.

This demo was made to show Stimulus-based controllers, actions and targets. As a proof of concept it implements a rough controller which places server-side rendered markup into DOM. Think of Stimulus without the need of Turbolinks. As a result this demo feels like a single-page application (SPA) even though it is in fact kind of a multi page application (MPA).

Hope it's useful!

Demo

https://stimulusjs.demo.tebe.ch

Usage

Run the demo by starting your favorite webserver in your project folder.

# Start the built-in PHP server
$ php -S localhost:9999

Then, open http://localhost:9999 in your browser.

About

Multi Page Application (MPA) with pre-rendered HTML using Stimulus.js UMD

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published