VUE
qq_26676207
这个作者很懒,什么都没留下…
展开
-
VUE系列一:VUE入门:搭建脚手架CLI(新建自己的一个VUE项目)
一、VUE脚手架介绍官方说明:Vue 提供了一个官方的 CLI,为单页面应用快速搭建 (SPA) 繁杂的脚手架。它为现代前端工作流提供了 batteries-included 的构建设置。只需要几分钟的时间就可以运行起来并带有热重载、保存时 lint 校验,以及生产环境可用的构建版本。更多详情可查阅 Vue CLI 的文档。个人理解:在实际开发中都是通过脚手架快速搭建一个vue项目,当然也可以使用...转载 2018-07-12 17:40:02 · 1977 阅读 · 0 评论 -
VUE系列二:vue基础
一、组件嵌套1. 新建一个组件Users.vue<template> <div class="users"> <ul> <li v-for="user in users"> {{user}} </li> </ul&转载 2018-07-12 17:44:15 · 320 阅读 · 0 评论 -
VUE系列三:实现跨域请求(fetch/axios/proxytable)
1. 在 config/index.js 配置文件中配置proxyTable'use strict' // Template version: 1.3.1 // see http://vuejs-templates.github.io/webpack for documentation. const path = require('path') module.exports = { dev...转载 2018-07-12 17:46:06 · 1449 阅读 · 0 评论