Honghua's Blog

你若盛开,清风自来


  • 首页

  • 关于

  • 分类

  • 归档

前端配置gitlab-ci

Posted on 2019-04-01 | In 前端
一、简单描述二、在服务器上安装 node 和 npm1. 在 node 官网下载 node1) 通过一下命令查看自己的 Linux 服务器是 64 位还是 32 位(x86_64表示64位系统, i686 i386表示32位系统)1uname -a 2) 在 node 的官网上找到最新的 node ...
Read more »

单页面路由实现原理

Posted on 2019-03-18 | In 前端
前言如今 React、Vue 等这些框架大行其道,为前端开发提供了不少的便利性。用这些框架开发的应用叫单页面应用(即 SPA),单页面应用就是只有一张Web页面的应用,是一种从 Web 服务器加载的富客户端,单页面跳转仅刷新局部资源 ,公共资源(JS、CSS 等)仅需加载一次,不同的页面只是挂载 ...
Read more »

一个域名对应多个 Vue history 模式项目的 nginx 配置

Posted on 2019-02-15 | In 前端
需求如:www.xxx.com/musicwww.xxx.com/blog类似这种,一个域名对应多个 Vue 项目 Vue 项目配置vue-router 中配置为了在 url 中不要 # ,可以使用路由的 history 模式,参考官方文档配置 base ,参考官方文档 12345const rou ...
Read more »

Hello World

Posted on 2018-06-03 | In 前端
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in ...
Read more »

Honghua

4 posts
1 categories
GitHub E-Mail
© 2019 Honghua