Class: ViteReact::Configuration
- Inherits:
-
Object
- Object
- ViteReact::Configuration
- Defined in:
- lib/vite_react/configuration.rb
Instance Attribute Summary collapse
-
#node_path ⇒ Object
Path to the Node executable (optional override).
-
#node_server_port ⇒ Object
Port for the Node/Vite SSR server.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
10 11 12 13 |
# File 'lib/vite_react/configuration.rb', line 10 def initialize @node_server_port = 4000 @node_path = nil # uses system's node by default end |
Instance Attribute Details
#node_path ⇒ Object
Path to the Node executable (optional override)
8 9 10 |
# File 'lib/vite_react/configuration.rb', line 8 def node_path @node_path end |
#node_server_port ⇒ Object
Port for the Node/Vite SSR server.
6 7 8 |
# File 'lib/vite_react/configuration.rb', line 6 def node_server_port @node_server_port end |