Questions tagged [assets]
1. Non-code files packed with an application (example, data or media files). 2. From a security point of view - any data or resource that should be (or can be) protected.
assets
3,598
questions
0
votes
0
answers
13
views
PDF link in React SPA works locally, but not in deployed production build
I am new to hosting a React app on a web server. What is the proper way to serve a PDF asset from a web server in a React app?
I've tried putting the PDF in the public folder, as well as importing it ...
0
votes
0
answers
17
views
AR flutter asset not rendering? Unable to render asset
So I have a problem with my asset. It can't load when it should appear when I tapped the screen.
enter image description here
here is my code
enter image description here
pubsec.yaml
enter image ...
0
votes
0
answers
37
views
Accessing public assets via server action nextjs
I'm working on a Next.js 14 application where I need to use images stored in the public folder. While the images load correctly on the client side, I encounter issues when trying to read an image file ...
0
votes
1
answer
143
views
In Angular 17 we are unable to load images from assets folder which we usually use to place in src of the root directory
So currently if I place assets in src my assets folder path is not being read.
**
The only solution I could find for it was to place the assets inside the pubic folder (because I found the favicon ...
1
vote
1
answer
39
views
Is 500mb of images possible to fit into an app for playstore and app-store policies?
I have two folders of images, combined they are 500mb. Is it possible to fit these as assets in my flutter app, without going above the limit for app size in google and app-store? I'm not really ...
0
votes
1
answer
33
views
Unable to load assets "cloudy.json" (The asset does not exist or has empty data)
I want to retrieve the data from these two json files.
I tried to replace both json files but it didn't work.
This is the error message "Unable to load assets "cloudy.json" (The asset ...
0
votes
0
answers
22
views
Importing bevy assets inside pseudo "microfrontend"(Nextjs multizones)
I have a bevy app, that I want to rewrite to Nextjs multizones.
Here's my next.config.js:
async rewrites() {
return [
{
source: '/wasm-shuttle',
destination: https://bevy-...
0
votes
1
answer
59
views
Is there a way to use the picked image without running flutter clean?
Problem Statement
I'm trying to use an image in a profile, by picking it using the file_picker package,
the pubspec.yaml path are correct and the path provided to the AssetImage as well.
But the after ...
0
votes
0
answers
39
views
Looker Studio Error - Metric results might not be accurate when using Asset level dimensions
I have a Looker Studio dashboard that was working with no issue before. For the past few months it shows the following error:
Metric results might not be accurate when using Asset level dimensions. ...
1
vote
1
answer
26
views
Sprockets::Rails::Helper::AssetNotPrecompiledError in MyEngine::Frontend#new
Asset hero_banner.jpg was not declared to be precompiled in production.
Declare links to your assets in app/assets/config/manifest.js.
//= link hero_banner.jpg
Rails.application.config.assets.paths &...
1
vote
0
answers
47
views
javascript, css and assets are not loading
im developing a website using vanilla html, css and js. My site uses more than one html file, and thats why im trying to organize everything, and its working as expected on the live server (on vscode),...
0
votes
0
answers
22
views
NX serve certain assets only for development (localhost)
I've added this into project.json under targets.build.options.assets:
{
"input": "apps/xyz/src/content-providers",
"glob": "**/*",
"output": &...
0
votes
0
answers
17
views
Android Studio/Gradle build doesn't contain assets beginning with a '_' character
In my projects asset folder I have a mix of files and directories. One of these directories begins with a _ and it is not included in the build.
I have narrowed it down to the aaptOptions in my ...
2
votes
1
answer
478
views
Assets folder does load on Angular 18
I was not able to load my images from the assets folder, I was using the Angular 18, after several atempts I was able to solve it.
Now on Angular 18 your assets folder needs to be on the path: public/
...
0
votes
0
answers
41
views
How to Properly Separate Flutter Assets by Density to Reduce App Size?
I have followed the steps for implementing resolution-aware image assets as described in Flutter's best practices. However, after building the AAB and uploading it to the Play Store, the download size ...