question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Package static resource problem

See original GitHub issue

Describe the bug

After upgrading the rc.9 version, the static resource package in the template is not output

Preview after executing yarn build, the picture is 404. And there is no such picture in the generated file

<template>
  <img src="/@/assets/images/logo.png"  />
</template>

System Info

  • required vite version: rc.9
  • required Operating System: mac
  • required Node version: 12

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
aleclarsoncommented, Nov 19, 2020

@replygirl Probably fixed by #1074 if you wanta try that

0reactions
replygirlcommented, Dec 14, 2020

@replygirl Probably fixed by #1074 if you wanta try that

Sorry for the late update! I tried that #1074 and @latest about two weeks ago and didn’t have any luck

Read more comments on GitHub >

github_iconTop Results From Across the Web

problem with static resource in manage package
Hi all; I have a beta managed package and have installed it in a new dev org but there is a problem; some...
Read more >
Static resource in managed package
If I am using $Resource global variable it is not giving me the expected output and my functionality is properly working without any...
Read more >
Static Resources Consumed by Each ServiceMax Version
The below table outlines the static resources consumed by each of the last 5 versions of ServiceMax. ServiceMax Version, Total Static Resources ......
Read more >
Managed Packages Rewrite CSS in Static Resources
The primary purpose of our Managed Package is to provide an SPA (Single Page Application) that's served up using Visualforce, with a static...
Read more >
Salesforce Static Resource Limit 250MB - Stack Overflow
Static resources in managed packages do count against the 250 MB per Org limit. Attempting to install a managed package that would cause...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found