Skip to content

Commit

Permalink
config jquery loading and redo yarn install
Browse files Browse the repository at this point in the history
  • Loading branch information
DevNeoLee committed Dec 3, 2020
1 parent 9bd9163 commit 38df64d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
Binary file added app/assets/images/share_desk.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions app/javascript/packs/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ require("@rails/activestorage").start()
require("channels")
require('jquery')
require('popper.js')
// require('bootstrap')
import "bootstrap"
require('bootstrap')
// import "bootstrap"
global.toastr = require("toastr")
require("jquery-ui")

Expand Down Expand Up @@ -43,7 +43,7 @@ toastr.options = {
"onclick": null,
"showDuration": "10000",
"hideDuration": "1000",
"timeOut": "1000",
"timeOut": "3000",
"extendedTimeOut": "1000",
"showEasing": "swing",
"hideEasing": "linear",
Expand Down
2 changes: 1 addition & 1 deletion config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

# Don't care if the mailer can't send.
config.action_mailer.raise_delivery_errors = false
config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }

config.action_mailer.perform_caching = false

# Print deprecation notices to the Rails logger.
Expand Down
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

get 'pages/home', to: 'pages#home'

resources :users, only: [:show] #프로파일 유저 각각의
resources :users, only: [:show]

resources :rooms
resources :rooms do
Expand Down
2 changes: 1 addition & 1 deletion config/webpacker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ default: &default
resolved_paths: []

# Reload manifest.json on all requests so we reload latest compiled packs
cache_manifest: true
cache_manifest: false

# Extract and emit a css file
extract_css: false
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@
"devDependencies": {
"webpack-dev-server": "^3.11.0"
}

}

0 comments on commit 38df64d

Please sign in to comment.