Skip to content
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

Unable to copy assets to dist folder during packaging #79

Open
7 tasks done
sishen654 opened this issue Feb 23, 2023 · 0 comments
Open
7 tasks done

Unable to copy assets to dist folder during packaging #79

sishen654 opened this issue Feb 23, 2023 · 0 comments

Comments

@sishen654
Copy link

Describe the bug

1、This is a vue2 project, and I have a component like this

image

2、when I packaged, the image files can't copy to the dist folder, so my static web has some show question

image

3、when I pass img url props, the vite can't check it all and package to the dist folder.

I don't know if this is intentional (wanted me to put it in the public folder), or a bug

Reproduction

https://gitee.com/ma_zipeng/customer-static-web3.git

Steps to reproduce

1、you can build

yarn build

2、you can use quickly-deploy lib to deploy

System Info

"dependencies": {
    "vue": "^2.7.13",
    "vue-router": "3.6.5"
  },
  "devDependencies": {
    "@vitejs/plugin-vue2": "^2.0.0",
    "sass": "1.54.9",
    "vite": "3.2.5"
  }

Used Package Manager

npm

Logs

No response

Validations

@sapphi-red sapphi-red transferred this issue from vitejs/vite Feb 24, 2023
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

No branches or pull requests

1 participant