Daniel Lima

Joined

510 Experience
5 Lessons Completed
0 Questions Solved

Activity

Posted in Stimulus JS Framework Introduction Discussion

import { Application } from  'stimulus'
import { definitionsFromContext } from 'stimulus/webpack-helpers'

const application = Application.start()
const controllers = require.context('./controllers', true, /\.js$/)

application.load(definitionsFromContext(controllers))
logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2020 GoRails, LLC. All rights reserved.