View Source SaladUi.TasksHelpers (SaladUI v0.13.0)

Helper functions for the SaladUI mix tasks.

Summary

Functions

Retrieves the base path for SaladUI library source files.

Functions

Retrieves the base path for SaladUI library source files.

Returns the appropriate path based on the current environment:

  • In test: Uses the local lib/salad_ui directory.
  • In development: Locates the path within project dependencies.

Raises an error if SaladUI cannot be found in the dependencies.