@@ -37,3 +37,8 @@ spring stop
cd ..
rm -rf myapp
```
+
+#### Stimulus (Options)
+```
+$ rake webpacker:install:stimulus
@@ -3,8 +3,5 @@ class User < ApplicationRecord
# :confirmable, :lockable, :timeoutable and :omniauthable
devise :database_authenticatable, :registerable, :recoverable, :rememberable, :validatable, :omniauthable
- has_person_name
-
- has_many :notifications, foreign_key: :recipient_id
has_many :services
end
@@ -107,7 +107,7 @@ end
def add_webpack
rails_command 'webpacker:install'
- rails_command 'webpacker:install:stimulus'
+ # rails_command 'webpacker:install:stimulus'
def add_sidekiq
@@ -168,7 +168,7 @@ after_bundle do
add_bootstrap
add_sidekiq
add_procodile
- # add_webpack
+ add_webpack
add_multiple_authentication
copy_templates