Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/danini-the-panini/typescript_stimulus

Example App showing how to get TypeScript and Stimulus working in Rails with Webpacker
https://github.com/danini-the-panini/typescript_stimulus

example-app rails stimulusjs typescript webpacker

Last synced: 15 days ago
JSON representation

Example App showing how to get TypeScript and Stimulus working in Rails with Webpacker

Awesome Lists containing this project

README

        

# Rails + TypeScript + Stimulus Example App

A basic example of setting up TypeScript to work with Stimulus in a Rails project using Webpacker.

## Requirements

1. ruby 2.5+
2. bundler 2.1.2
3. node (recommend version 12+)
4. yarn

## Setup

1. `git clone https://github.com/jellymann/typescript_stimulus.git`
2. `cd typescript_stimulus`
2. `bundle install`
3. `bin/yarn`
4. `bin/rails server`
5. open `http://localhost:3000` in your favourite browser