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

你好,打完包后没有package.json,直接把文件放到服务器上,那么怎么安装依赖呢 #10

Open
ghost opened this issue Sep 15, 2017 · 3 comments

Comments

@ghost
Copy link

ghost commented Sep 15, 2017

看了很多文章都没有讲到这一点的,是我哪里理解错了吗?还是说要把需要的依赖拷贝到某个文件夹,在index里引入,比如说Rxjs。多谢了

@myopenresources
Copy link
Owner

打包后的目录叫cc-client

@ghost ghost changed the title 你好,打完包后没有package 你好,打完包后没有package.json,直接把文件放到服务器上,那么怎么安装依赖呢 Sep 15, 2017
@ghost
Copy link
Author

ghost commented Sep 15, 2017

@332557712 我是指背书到服务器上的时候,总见人讲说直接把dist放到服务器上就行,这个有点不太合理啊……

@myopenresources
Copy link
Owner

@zy-1995 打完的包就可以直接运行了,为什么要安装依赖,好好去研究下基础吧

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