2 커밋 ef810c8e03 ... 5f485e64fa

작성자 SHA1 메시지 날짜
  ANX 5f485e64fa fix: readme 5 년 전
  ANX ef810c8e03 fix: readme 5 년 전
3개의 변경된 파일7개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 0
      README.md
  2. 0 3
      app/models/user.rb
  3. 2 2
      template.rb

+ 5 - 0
README.md

@@ -37,3 +37,8 @@ spring stop
 cd ..
 cd ..
 rm -rf myapp
 rm -rf myapp
 ```
 ```
+
+#### Stimulus (Options)
+```
+$ rake webpacker:install:stimulus
+```

+ 0 - 3
app/models/user.rb

@@ -3,8 +3,5 @@ class User < ApplicationRecord
   # :confirmable, :lockable, :timeoutable and :omniauthable
   # :confirmable, :lockable, :timeoutable and :omniauthable
   devise :database_authenticatable, :registerable, :recoverable, :rememberable, :validatable, :omniauthable
   devise :database_authenticatable, :registerable, :recoverable, :rememberable, :validatable, :omniauthable
 
 
-  has_person_name
-
-  has_many :notifications, foreign_key: :recipient_id
   has_many :services
   has_many :services
 end
 end

+ 2 - 2
template.rb

@@ -107,7 +107,7 @@ end
 
 
 def add_webpack
 def add_webpack
   rails_command 'webpacker:install'
   rails_command 'webpacker:install'
-  rails_command 'webpacker:install:stimulus'
+  # rails_command 'webpacker:install:stimulus'
 end
 end
 
 
 def add_sidekiq
 def add_sidekiq
@@ -168,7 +168,7 @@ after_bundle do
   add_bootstrap
   add_bootstrap
   add_sidekiq
   add_sidekiq
   add_procodile
   add_procodile
-  # add_webpack
+  add_webpack
   add_multiple_authentication
   add_multiple_authentication
 
 
   copy_templates
   copy_templates