Coder Social home page Coder Social logo

vue-training's Introduction

in Terminal, input 'vim README.md' to open this file in Vim

find nothing can be done when u into this file in vim ?

it is now in command-mode, press 'i' to come to insert-mode.

when u finish editing, press 'ESC' to quit insert-mode and go back to command-mode

and then, press ':' to come to viewmode, press 'wq' to save and quit.


how to start a project and publish it on github:

  • create a new repository on github
  • doing these things in your local computer
mkdir project-name
cd project-name
touch README.md
vi README.md

git init
git add .
git commit -m 'git init'
git push ...

Vue 造轮子起步: readme: 使用本框架前,请在 CSS 中开启 border-box

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

做一个初步的最基础的 button 两个知识点:CSS 变量让用户可以自己设置组件的样式;Vue 组件的写法

构建工具的选择:parcel 不够用之后再转为 webpack

npm install -D xxx (-D: developer,开发者使用)

npx parcel // npm 在当前目录自己去找 parcel 并执行,不用自己写 parcel 所在的路径 parcel --no-cache // 不使用缓存,否则改动的东西有可能并没有被 parcel

npm install -g git-open 在任何一个 git 目录下打开命令行,输入 git open 就可以直接打开 github 对应的页面

vue-training's People

Contributors

liuernan 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.