Skip to content

fix: Include compiled dist assets in package (#4)#7

Merged
iamgerwin merged 3 commits into
mainfrom
fix/issue-4-build-dist-assets
Nov 25, 2025
Merged

fix: Include compiled dist assets in package (#4)#7
iamgerwin merged 3 commits into
mainfrom
fix/issue-4-build-dist-assets

Conversation

@iamgerwin

Copy link
Copy Markdown
Owner

Summary

The Vue components were not working because the compiled /dist folder was gitignored, preventing the built assets from being included in the package distribution.

Root Cause

The .gitignore file contained /dist which excluded the compiled Vue components from being committed and distributed via Composer.

Solution

  1. Removed /dist from .gitignore
  2. Built production assets with npm run prod
  3. Committed the compiled dist folder

Files Changed

File Changes
dist/js/field.js Compiled Vue components (21.5 KiB)
dist/css/field.css Compiled styles (237 bytes)
dist/mix-manifest.json Mix manifest
.gitignore Removed /dist, added PR.md
CHANGELOG.md Added v1.0.8 entry
composer.json Version bump to 1.0.8
docs/flexible-field-support.md Updated version history

Test Plan

  • Verify dist folder is included in package
  • Verify Vue components are compiled correctly
  • Test in consumer project that Flexible field dependencies work

Fixes #4

Built production assets with npm run prod:
- dist/js/field.js (21.5 KiB)
- dist/css/field.css (237 bytes)
- Removed /dist from gitignore so compiled assets are included in package
- Added PR.md to gitignore
@iamgerwin iamgerwin merged commit fd40a5a into main Nov 25, 2025
2 checks passed
@iamgerwin iamgerwin deleted the fix/issue-4-build-dist-assets branch November 25, 2025 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NovaDependencyContainer inside Flexible field not showing dependent fields

1 participant