本文介绍了什么是“入口点"?在npm init中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个空的新项目,当我运行npm init时,我得到了要回答的问题列表,例如:
I have an empty new project, when i run npm init i got a list of questions to answer, for example:
name: (karma)
version: (1.0.0)
description:my project description
entry point: (index.js)
我真的很困惑入口点",这应该是我的index.html文件还是我的app.js还是其他东西?
I am really confused about the one that says "entry point", Should this be my index.html file or my app.js or is it something else?
推荐答案
从此:
因此它应该是您的 app.js
文件.
So it should be your app.js
file.
这篇关于什么是“入口点"?在npm init中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!