摘要:
一、在angular中如何使用jQuery npm install jquery --save npm install @types/jquery --sa ve-dev import * as $ from 'jquery'; 二、bootstrap的使用 引入cdn直接使用 npm安装,需要先安 阅读全文
摘要:
基础知识 创建组件 ng g component 组件名称 对ts文件下的@Component的使用 模板 template 不仅可以配置模板地址templateUrl,还可以配置成template:自定义模板内容 设置样式 styles 设置样式不仅可以在@Component下配置styleUrl 阅读全文