Stimulus Js Without Webpack
Using other build systems.
Stimulus js without webpack. It ll allow you to break your controllers into separate files and stimulus will decide on the correct name to use as an identifier. Browser support using webpack. Their documentation even has a lovely starter kit for webpack.
Create a html file add a script tag write some javascript and open the file in the browser. Nowadays building web applications requires complex build toolchains a node modules directory with gigabytes of dependencies and a complicated webpack configuration file. Stimulus is a javascript framework from basecamp that provides consistent conventions and hooks for javascript that manipulates the dom in server rendered applications.
Stimulus official website states. Stimulus was totally made to be used with webpack. Stimulus without webpacker of course you can use stimulus js without webpacker.
Using without a build system. Stimulus integrates with the webpack asset packager to automatically load controller files from a folder in your app. In the good old times creating a javascript enhanced website was straightforward.
If you prefer not to use a build system you can load stimulus in a script tag. Or load stimulus umd js in a script tag. You don t have to use webpack if you want to use stimulus but it cleans up the experience a bunch.