09 2019 档案

摘要:记录一次从零使用 vue 的经过(在 window 环境下): 安装 nodejs,官网下载安装包,安装。 安装 Vue CLI,打开命令行工具,执行:npm install -g @vue/cli ,安装成功后通过 vue --version 查看其版本。 创建一个项目,执行 vue create 阅读全文
posted @ 2019-09-17 17:03 colin220 阅读(182) 评论(0) 推荐(0) 编辑
摘要:Nginx 常用的三大场景: 提供静态内容(Serving Static Content) nginx 作为 web 服务器提供静态文件,诸如图片或者 html 等文件。例如下面的配置: location /images/ { root /data; } 例如以 /images/ 开头的请求将会被拦 阅读全文
posted @ 2019-09-17 14:44 colin220 阅读(144) 评论(0) 推荐(0) 编辑
摘要:定义 Vue CLI官方定义:Vue CLI 是一个基于 Vue.js 进行快速开发的完整系统,提供诸多功能。例如:通过 @vue/cli 搭建交互式的项目脚手架;通 @vue/cli + @vue/cli-service-global快速开始零配置原型开发;一个丰富的官方插件集合,集成了前端生态中 阅读全文
posted @ 2019-09-16 15:41 colin220 阅读(425) 评论(0) 推荐(0) 编辑
摘要:npm consists of three distinct components the website the Command Line Interface (CLI) the registry Use the website to discover packages, set up profi 阅读全文
posted @ 2019-09-16 14:51 colin220 阅读(143) 评论(0) 推荐(0) 编辑
摘要:springboot 中都会有 application.properties 这个配置文件。这个配置文件中会有一些基本的属性微调配置项。那么这个配置项是如何起作用的呢? 以数据库配置信息为例,可以在 application.properties 中查看到如下配置信息: 如果使用的 ide 是 ide 阅读全文
posted @ 2019-09-09 14:34 colin220 阅读(202) 评论(0) 推荐(0) 编辑