Class: Inertia::Configuration::DevServer

Inherits:
Object
  • Object
show all
Defined in:
lib/inertia/configuration.rb

Overview

Stores configuration for the Vite development server.

Instance Attribute Summary collapse

Instance Attribute Details

#hostString

Returns the hostname for the Vite dev server (default: "localhost").

Returns:

  • (String)

    the hostname for the Vite dev server (default: "localhost")



105
106
107
# File 'lib/inertia/configuration.rb', line 105

def host
  @host
end

#portInteger

Returns the port for the Vite dev server (default: 5173).

Returns:

  • (Integer)

    the port for the Vite dev server (default: 5173)



108
109
110
# File 'lib/inertia/configuration.rb', line 108

def port
  @port
end