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")



98
99
100
# File 'lib/inertia/configuration.rb', line 98

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)



101
102
103
# File 'lib/inertia/configuration.rb', line 101

def port
  @port
end