会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
张楠楠
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
···
10
下一页
2018年8月13日
SPA(单页面web应用)和MPA(多页面web应用)的区别
摘要: 转:https://blog.csdn.net/amaniz/article/details/79203562 vue多页面应用开发请参见: https://github.com/amunamuna/webtest
阅读全文
posted @ 2018-08-13 16:41 纳豆
阅读(1622)
评论(0)
推荐(0)
2018年7月12日
Spring Boot 集成 Spring Security
摘要: 1、添加依赖 2、运行项目 会发现,访问时,弹出此页面 这是因为Spring Security对我们的工程默认使用”basic”身份认证,只要引入了Spring Security, 那么整个web应用都是安全的,所有资源访问都要经过身份验证授权才可以访问。 可用 user 及 随机密码登录,随机密码
阅读全文
posted @ 2018-07-12 15:33 纳豆
阅读(251)
评论(0)
推荐(0)
2018年7月11日
windows安装mysql8.0
摘要: 以我本机为例: 系统:64位windows7系统 mysql: 8.0.11 1、下载mysql-8.0.11-winx64.zip https://dev.mysql.com/downloads/mysql/ 2、解压缩后,在根路径D:\Program Files\MySQL\mysql-8.0.
阅读全文
posted @ 2018-07-11 16:01 纳豆
阅读(317)
评论(0)
推荐(0)
2018年7月9日
vue-cli多页面应用常遇到的问题
摘要: 1、TypeError: webpack.optimize.OccurenceOrderPlugin is not a constructor 此问题出现在webpack 3中,解决办法很简单,将occurenceOrderPlugin改为OccurrenceOrderPlugin即可。 2、Ref
阅读全文
posted @ 2018-07-09 21:29 纳豆
阅读(4753)
评论(0)
推荐(1)
2018年7月2日
介绍vue-cli脚手架config目录下index.js配置文件
摘要: 1、config/index.js 2、build/build.js页面 3、build/webpack.base.conf.js 4、build/webpack.prod.conf.js
阅读全文
posted @ 2018-07-02 21:18 纳豆
阅读(2418)
评论(0)
推荐(0)
2018年6月20日
前后端分离,使用nginx解决跨域问题
摘要: 前端:vue.js+nodejs+webpack 后台:SpringBoot 反向代理服务器:nginx 思想:将前端代码打包,让nginx指向静态资源,nginx对后台请求进行转发。 1、将前端代码打包: npm run build 会生成一个dist文件夹。包含一个index.html文件和一个
阅读全文
posted @ 2018-06-20 21:04 纳豆
阅读(18813)
评论(2)
推荐(3)
nginx常用命令
摘要: sudo nginx #打开 nginxnginx -s reload #重新加载配置nginx -s reopen #重启nginx -s stop #停止nginx -s quit #退出 nginx nginx -t #测试配置是否有语法错误
阅读全文
posted @ 2018-06-20 11:38 纳豆
阅读(188)
评论(0)
推荐(0)
nginx安装
摘要: 一、Windows系统上安装nginx 下载: http://nginx.org/en/download.html 二、Mac系统上安装nginx 1 使用brew安装nginx 如果homebrew不是最新版本,会先更新, Updating Homebrew... 当然可以设置不自动更新(网上搜吧
阅读全文
posted @ 2018-06-20 11:32 纳豆
阅读(154)
评论(0)
推荐(0)
2018年5月28日
Mongodb下载、安装、配置与使用
摘要: 感谢:https://blog.csdn.net/heshushun/article/details/77776706 一、下载: 官网地址:https://www.mongodb.com/download-center?jmp=nav#community 二、安装: 选择自定义安装路径后,下一步,
阅读全文
posted @ 2018-05-28 15:05 纳豆
阅读(181)
评论(0)
推荐(0)
2018年5月15日
vue-router 之 keep-alive
摘要: keep-alive 简介 keep-alive是 Vue 内置的一个组件,可以使被包含的组件保留状态,或避免重新渲染。 router-view 也是一个组件,如果直接被包在 keep-alive 里面,所有路径匹配到的视图组件都会被缓存,例如:
阅读全文
posted @ 2018-05-15 09:25 纳豆
阅读(528)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
10
下一页
公告