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

請問ejs、sass、webpack是另外單獨安裝還是通過主題根目録下的package.json安裝 #71

Open
SetsuikiHyoryu opened this issue Nov 8, 2020 · 2 comments

Comments

@SetsuikiHyoryu
Copy link

❓问题

  1. ejs、sass、webpack是可以都用npm安裝嗎?
  2. 我看npm安裝東西時既可以本地安裝也可以全局安裝。那我安裝ejs、sass、webpack時應該選哪種?
  3. 如果是主題内本地安裝ejs、sass、webpack,會不會和其他項目内的這些東西重複?

🤔结果 & 预期

Please describe what you expected to see.(请描述一下你希望看到什么)
我希望不要重複安裝,因爲我硬盤沒多少空間。

🐥环境 & 设置

Node.js & npm version

node -v
v14.15.0

npm -v
6.14.8

Your site _config.yml (Optional)

Your theme _config.yml (Optional)

Your browsers (Optional)

The browser you use

Your OSes (Optional)

what platforms (operating systems and devices) are affected?

🙋Others

@JoeyBling
Copy link
Owner

首先,如果只是使用主题而不是进行二次开发,无需安装NPM依赖。
如果需要构建源码,我个人建议是本地安装,不要全局安装

@SetsuikiHyoryu
Copy link
Author

首先,如果只是使用主题而不是进行二次开发,无需安装NPM依赖。
如果需要构建源码,我个人建议是本地安装,不要全局安装

明白了,謝謝

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