Parse.com CLI 工具在部署时忽略 CSS 个文件
Parse.com CLI tool ignores CSS files upon deploy
我已经完成了在 Parse 上成功设置网站的基本教程。现在我正在尝试添加 CSS。但是,当我使用 parse deploy
时,文件会被忽略:
Uploading recent changes to scripts...
The following files will be uploaded:
/Users/clintonburgos/Documents/Code/MyApp/cloud/app.js
/Users/clintonburgos/Documents/Code/MyApp/cloud/main.js
/Users/clintonburgos/Documents/Code/MyApp/cloud/views/hello.ejs
/Users/clintonburgos/Documents/Code/MyApp/cloud/views/main.ejs
The following files will be ignored:
/Users/clintonburgos/Documents/Code/MyApp/cloud/.DS_Store
/Users/clintonburgos/Documents/Code/MyApp/cloud/css/.DS_Store
/Users/clintonburgos/Documents/Code/MyApp/cloud/css/main.css <-------
/Users/clintonburgos/Documents/Code/MyApp/cloud/views/.DS_Store
Finished uploading files
当我将它移动到/cloud
或/views
目录时也是如此。为什么会发生这种情况的任何想法?谢谢!
来自他们的 doc:
our Express app can sit side-by-side with any static content you
deployed from your public folder. When a request goes to a URL of your
subdomain, Parse will first look for a matching file in the public
directory
将您的静态内容上传到 public
文件夹中,一切正常
我已经完成了在 Parse 上成功设置网站的基本教程。现在我正在尝试添加 CSS。但是,当我使用 parse deploy
时,文件会被忽略:
Uploading recent changes to scripts...
The following files will be uploaded:
/Users/clintonburgos/Documents/Code/MyApp/cloud/app.js
/Users/clintonburgos/Documents/Code/MyApp/cloud/main.js
/Users/clintonburgos/Documents/Code/MyApp/cloud/views/hello.ejs
/Users/clintonburgos/Documents/Code/MyApp/cloud/views/main.ejs
The following files will be ignored:
/Users/clintonburgos/Documents/Code/MyApp/cloud/.DS_Store
/Users/clintonburgos/Documents/Code/MyApp/cloud/css/.DS_Store
/Users/clintonburgos/Documents/Code/MyApp/cloud/css/main.css <-------
/Users/clintonburgos/Documents/Code/MyApp/cloud/views/.DS_Store
Finished uploading files
当我将它移动到/cloud
或/views
目录时也是如此。为什么会发生这种情况的任何想法?谢谢!
来自他们的 doc:
our Express app can sit side-by-side with any static content you deployed from your public folder. When a request goes to a URL of your subdomain, Parse will first look for a matching file in the public directory
将您的静态内容上传到 public
文件夹中,一切正常