
前端总结
saintPeters
Lifetime Learning!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
前端第一篇总结
前端第一篇博客meta标签<meta name="renderer" content="webkit|ie-comp|ie-stand" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=原创 2017-11-13 14:50:09 · 304 阅读 · 0 评论 -
移动端Ajax返回消息替代Alert弹窗组件
DOM结构<div id="mesBox" class="mesBox"> <span id="mesBox_close" class="icon-close2"></span> <div class="mesBox_state"> <div class="wait-loading"> <div class="b原创 2017-11-23 18:04:38 · 755 阅读 · 0 评论 -
Angular6项目构建
Angular6项目构建 安装Nodejs长期支持版本(LTS) 设置npm淘宝代理: npm config set registry https://registry.npm.taobao.org npm install -g @angular/cli ng new projectName –sass ng serve –open 项目打包 ng build –prod –...原创 2018-05-12 10:35:49 · 9818 阅读 · 4 评论 -
用angular编写管理中台,放置于现有的非angular项目中
创建angular项目 npm i -g @angular/cli ng new projectname –style=scss 创建全局通用header和aside: ng g c components/header ng g c components/aside 在 app.component.html写入 在src/app/目录下新建 app-routing.module.ts,作为项目...原创 2018-07-30 16:19:59 · 319 阅读 · 0 评论 -
Angular IIS rewrite
Angular IIS 部署后刷新404解决方案 根目录创建web.config文件,内容如下 <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> &原创 2018-08-21 16:57:49 · 632 阅读 · 0 评论 -
Angular Mock Data
Angular本地开发模拟后台接口 在environments文件夹下创建environment.dev.ts const baseURL = 'http://localhost:5002/'; export const environment = { production: true, envName: 'dev', apiURL: { login: baseURL + ...原创 2018-08-21 17:11:33 · 3351 阅读 · 0 评论