dependabot[bot] 9515e6cc27 chore(deps): bump rxjs from 6.6.7 to 7.5.7
Bumps [rxjs](https://github.com/reactivex/rxjs) from 6.6.7 to 7.5.7.
- [Release notes](https://github.com/reactivex/rxjs/releases)
- [Changelog](https://github.com/ReactiveX/rxjs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/reactivex/rxjs/compare/6.6.7...7.5.7)

---
updated-dependencies:
- dependency-name: rxjs
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-02 01:08:16 +08:00
2022-12-02 01:01:48 +08:00
2020-05-16 22:18:45 +08:00
2020-05-25 21:53:38 +08:00
2022-12-02 00:33:54 +08:00
2022-12-01 23:42:04 +08:00
2022-12-02 00:33:54 +08:00
2020-05-16 22:18:45 +08:00
2020-05-16 22:18:45 +08:00
2020-08-07 22:16:04 +08:00
2020-08-07 22:20:35 +08:00
2020-05-16 22:18:45 +08:00
2022-12-01 23:50:05 +08:00
2020-05-16 22:18:45 +08:00

小海博客前端页面

BuildProject

基于angular的前端展示页面

主要使用的技术

使用的技术 名称
前端框架 angular
UI库 ant design
文章展示 markdown
markdown实现 Editor.md

部分截图

前台页面

首页

首页

文章页

文章页

后台页面

后台首页

后台首页

普通用户后台

普通用户后台

写作页面

普通用户后台

登录页面

登录页面的背景图采用bing的图片每日一更哦。

🔨构建和发布

构建
  1. npm install

  2. 修改环境数据中的host

    • /src/environments/environment.ts (本地开发环境)
    • /src/environments/environment-prod.ts(线上发布环境)
  3. ng build --prod

可使用项目根目录的build.sh 脚本进行构建,但是 两个项目中的环境里面的变量仍需自己修改

发布
  • dist/index下的全部文件上传到网站根目录

  • 目录结构如下:

  • 修改nginx的location配置

location / {
    try_files $uri $uri/ /index.html;
}
Description
一起来写一个博客吧--前端部分
Readme MIT 10 MiB
Languages
TypeScript 67.7%
HTML 25.4%
Less 6.2%
JavaScript 0.7%