Skip to content

当配置Assets directory为url时候(比如cdn url),build命令会一直执行,无报错无结束 #2606

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

Closed
paul-xia opened this issue Sep 25, 2018 · 1 comment

Comments

@paul-xia
Copy link

Version

3.0.4

Reproduction link

https://github.com/paul-xia/vue-cli-issue

Node and OS info

node8.9.3/5.5.1/windows 10

Steps to reproduce

vue ui
change Assets directory to a link url
run build

What is expected?

编译成功

What is actually happening?

一直编译,无报错无成功

@haoqunjiang
Copy link
Member

请仔细看文档:
https://cli.vuejs.org/zh/config/#assetsdir

放置生成的静态资源 (js、css、img、fonts) 的 (相对于 outputDir 的) 目录

assetsDir 应该是一个相对路径,不能是 url

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

2 participants