vue-- Projects

1. Create a project and GitHub hosting

 3 run up scaffolding

GitHub create a project: the top right of the + sign - fill in the information

In vscode here git clone 'project link on github' ------> created a hosted file, then copy some files into it ----> cd to the next to be hosted file directory ---> git add ----> git commit -m 'initialize project' -> prompt "Please tell me who you are Run git config --global user.email." [email protected] "git config --global user .name "Your Name" Thus git config --global user.email "107 mailbox @ qq.com" git config --global user.name "pys" ------> git push

github application

 

src - assets: resources put some resources img / CSS
src - put the Component built under a public assembly src views on here to view large components to prevent excessive content of
src-router: Routing
src - store: state management
network: with network-related
common: put some public js file

Guess you like

Origin www.cnblogs.com/yundong333/p/11517718.html