We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Just starting to dive in on the new Sage/vite combo, and because there's no manifest.json during yarn dev, the following error triggers:
manifest.json
yarn dev
[previous exception] [object] (Roots\\Acorn\\Assets\\Exceptions\\ManifestNotFoundException(code: 0): The asset manifest [/site/wp-content/themes/sage/public/build/manifest.json] cannot be found. at /site/wp-content/themes/sage/vendor/roots/acorn/src/Roots/Acorn/Assets/Manager.php:122) [stacktrace] #0 /site/wp-content/themes/sage/vendor/roots/acorn/src/Roots/Acorn/Assets/Manager.php(95): Roots\\Acorn\\Assets\\Manager->getJsonManifest('/Volumes/Crucia...') #1 /site/wp-content/themes/sage/vendor/roots/acorn/src/Roots/Acorn/Assets/Manager.php(71): Roots\\Acorn\\Assets\\Manager->resolve('theme', Array) #2 /site/wp-content/themes/sage/vendor/roots/acorn/src/Roots/helpers.php(20): Roots\\Acorn\\Assets\\Manager->manifest('theme') #3 /site/wp-content/themes/sage/vendor/log1x/sage-svg/src/SageSvg.php(104): Roots\\asset('images/logo.svg', 'theme') #4 /site/wp-content/themes/sage/vendor/log1x/sage-svg/src/SageSvg.php(69): Log1x\\SageSvg\\SageSvg->asset('images/logo.svg') #5 /site/wp-content/themes/sage/vendor/log1x/sage-svg/src/SageSvg.php(48): Log1x\\SageSvg\\SageSvg->getContents('images/logo.svg') #6 /site/wp-content/themes/sage/vendor/log1x/sage-svg/src/helpers.php(16): Log1x\\SageSvg\\SageSvg->render('images.logo', 'w-16', Array, Object(Illuminate\\Support\\Collection)) #7 /site/wp-content/cache/acorn/framework/views/4c9f681a017d9e8e1a92bccbd2e7b65e.php(8): get_svg('images.logo', 'w-16', Array) ...
This may be more of an upstream issue with how acorn handles manifests.
acorn
The text was updated successfully, but these errors were encountered:
I think my changes in roots/acorn#432 should fix this.
Sorry, something went wrong.
Might need to remove https://github.com/Log1x/sage-svg/blob/master/src/SageSvg.php#L96-L102 though 👀
This now works with Acorn dev-main but you will have to add resources to your paths:
dev-main
resources
- @svg('images.logo') + @svg('resources.images.logo')
No branches or pull requests
Just starting to dive in on the new Sage/vite combo, and because there's no
manifest.json
duringyarn dev
, the following error triggers:This may be more of an upstream issue with how
acorn
handles manifests.The text was updated successfully, but these errors were encountered: