Blogger Information
Blog 14
fans 0
comment 0
visits 6991
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
Vue介绍及Vue脚手架安装
清风King
Original
460 people have browsed it

一.认识Vue

  1. Vue是渐进式框架
  2. 官网:http://cn.vuejs.org
  3. Vue的两个核心
    • 响应式的数据的绑定,专心数据操作,不用关系dom操作;
    • 可组合的视图组建;

二.配置Vue-cli

  1. Vue-CLI全称 (Command Line Interface)
  2. 命令安装:npm install -g @vue/cli
  3. 检查版本:vue —version
  4. 创建项目:vue create 项目名称,学习时建议选择手动设置。
  5. 配置文件详细 vue.con
  6. vue.config.js配置文件演示
    1. const webpack = require('webpack');
    2. module.exports = {
    3. outputDir:'build',
    4. configureWebpack:{
    5. plugins:[
    6. new webpack.BannerPlugin({
    7. banner:'学习猿地-wwww.lmonkey.com-成就自己的只需一套精品'
    8. })]}}
    webpack.config.js中的配置文件可以放入vue.config.js中的configureWebpack中。
Correcting teacher:PHPzPHPz

Correction status:qualified

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post