随笔分类 -  angular学习笔记

摘要:1.安装core ,shared模块 ng g m core ng g m shared 2.在shared中导入core模块 core模块只加载一次所以将公共组件放到core中 3.创建公共组件: ng g c core/header --spec=false 创建header组件,并且不使用测试 阅读全文
posted @ 2019-04-02 06:36 孟小孩 阅读(165) 评论(0) 推荐(0)
摘要:angular环境的搭建项目结构整理 阅读全文
posted @ 2019-03-23 13:17 孟小孩 阅读(220) 评论(1) 推荐(0)