答案 0 :(得分:1)
我喜欢Ionic自己跟随example apps:
的布局<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<div class="content">
This is the main content that scrolls until the modal is opened.
<div class="click">Click me to open modal</div>
<div class="modal">This is a modal that requires me to scroll down on hence there is a lot of placeholder text in here that I am having to type man I should've used Lipsum.</div>
</div>
这消除了可以使用resources/
src/
www/
.editorconfig
.gitignore
config.xml
ionic.config.json
package.json
tsconfig.json
tslint.json
以及也可以重建的node_modules
和npm install
目录重建的platform
的混乱。
如果您想要遵循此布局,plugins
可能如下所示:
.gitignore
答案 1 :(得分:0)
在新的项目文件夹中执行“npm install”时,我也收到此消息,上面只有Grayson Kent的结构:
gethostbynamel()
所以package-lock.json也应该提交给你的源代码控制。