vue准备工作

2020-05-19  本文已影响0人  理子
  1. 了解mvc、mvp、mvvm概念
    http://www.ruanyifeng.com/blog/2007/11/mvc.html
    https://zhuanlan.zhihu.com/p/35680070

  2. 安装浏览器插件vue devtools

  3. 安装脚手架
    https://blog.csdn.net/m0_37285193/article/details/82703022
    https://cli.vuejs.org/zh/guide/creating-a-project.html#vue-create
    使用ESLint+Prettier来统一前端代码风格

//全局安装vue-cli
npm install -g @vue/cli

// 查看vue/cli版本
vue -V
  1. 创建一个新项目
vue create hello-world
  1. 一个template只能有一个出口(一个大的div

  2. html中target四种选择_blank、_parent、_self、_top,分别是什么意思?
    https://zhidao.baidu.com/question/2208330098947104388.html

  3. 关于a标签target_blank使用rel=noopener
    https://www.jianshu.com/p/c8319e095474
    https://mathiasbynens.github.io/rel-noopener/#hax

  4. @指向src目录

上一篇 下一篇

猜你喜欢

热点阅读