Git Product home page Git Product logo

vue's Introduction

vue

learn vue about some my notes
npm install -g vue-cli

vue init vue-cli脚手架的使用
ps:vue init webpack my-project
npm install 安装的依赖代码库
npm run dev 项目运行
npm install --production 安装生产环境

项目文件介绍——一级目录

build目录、cofig目录 webpack配置相关
node_modules npm install 安装的依赖代码库
src 存放项目源码,开发的所有代码都在此
static 存放第三方静态资源
——.gitkeep 此文件代表目录为空也提交到git代码仓库(通常一个目录为空,.git会忽略该目录,不提交到代码仓库)
.babelrc 是babel的编译的配置,项目通常是es6代码,需要babel编译
.editorconfig 编辑器的配置
.eslintignore 忽略语法检查的目录文件
.eslintrc.js eslint的配置文件
.gitignore 忽略的文件以及目录,不提交到git代码仓库
index.html 入口文件
package.json 项目的配置文件:一般用来描述一个项目,vue-cli填的一些信息;script可以配置一些脚本,执行命令;dependencies项目的依赖;devDependcies编译的依赖,这些代码在打包上线后是不存在的

webstorm的自动格式化 control + alt + L

vue's People

Contributors

dennischeung avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.