Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wire up core Rails JS #39

Open
5 tasks
dcollie2 opened this issue Jan 16, 2025 · 0 comments
Open
5 tasks

Wire up core Rails JS #39

dcollie2 opened this issue Jan 16, 2025 · 0 comments
Assignees

Comments

@dcollie2
Copy link
Collaborator

Summary

We used CDNs directly in our layout so we could get up and running quickly with a decent design theme. We need to get our core Rails JS in place by configuring and loading application.js.

Why

Because we are not loading application.js, we do not have the wiring in place for Hotwired and we do not have the option of adding our CDN links to importmaps.

Criteria for completion

  • Application.js is properly loaded in all layouts
  • The CDN assets we are using for our themes load properly via importmaps
  • CDN assets are no longer directly called in the layouts
  • Stimulus controllers load properly (even though we are not yet using them)
  • We have removed bootstrap from application.js since we're getting it via theme CDN
@dcollie2 dcollie2 self-assigned this Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant