module Vueport

Constants

VERSION

Public Instance Methods

config() click to toggle source
# File lib/vueport.rb, line 9
def config
  @config ||= {
    server_host: 'localhost',
    server_port: 5000,
    server_config_file: 'config/vueport/webpack.server.conf',
    client_config_file: 'config/vueport/webpack.prod.conf',
    ssr_enabled: false,
    ssr_timeout: 3
  }
end
configure() { |config| ... } click to toggle source
# File lib/vueport.rb, line 20
def configure(&_)
  yield config if block_given?
end