1.0.3 • Published 5 years ago

stimulus-hello-world v1.0.3

Weekly downloads
3
License
MIT
Repository
-
Last release
5 years ago

Stimulus Hello World Example

Usage

In your Terminal

yarn add stimulus-hello-world

within app/javascript/packs/application.js of your Rails app

import { Application } from 'stimulus'
const application = Application.start()

import HelloWorld from 'stimulus-hello-world'
application.register('hello-world', HelloWorld)

within your views

<div data-controller='hello-world'></div>
1.0.3

5 years ago

1.0.2

5 years ago

1.0.0

5 years ago