Skip to content

feat: add config settings to support PR #72 #73

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
*/
'manifestPath' => '@webroot/dist/manifest.json',

/**
* @var string File system path to the Vite-built assets
*/
'distPath' => '@webroot/dist/',

/**
* @var string The public URL to the dev server (what appears in `<script src="">` tags
*/
Expand Down
5 changes: 5 additions & 0 deletions src/models/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ class Settings extends Model
*/
public $manifestPath;

/**
* @var string File system path to the Vite-built assets
*/
public $distPath;

/**
* @var string The public URL to the dev server (what appears in `<script src="">` tags
*/
Expand Down