Record Of March 13th

Task Today

  1. Create account of coding platform of Tencent;
  2. Run a jeecg framework;
  3. Free to add anything you want on VUE to show the effect of display;
  4. Learn tags of HTML;
  5. Know what Anti Design Vue includes.

Make versions of node interchangeable to fit different business

Uninstall node if you used pkg to install before

1
sudo rm -rf /usr/local/{bin/{node,npm},lib/node_modules/npm,lib/node,share/man/*/node.*}

img

Then install nvm through brew

1
brew install nvm

Set local path to ~/.zshrc then resource it

1
2
3
4
5
6
7
8
9
10
Add the following to ~/.zshrc or your desired shell
configuration file:

export NVM_DIR="$HOME/.nvm"
[ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && \. "/opt/homebrew/opt/nvm/nvm.sh" # This loads nvm
[ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
source ~/.zshrc

check version of nvm
nvm -v

Begin to install node

Check available version we can use at present

1
nvm list available

Install appointed version if you like ,here we recommend to install v12.20.1 or whatever you prefer

1
2
3
4
5
6
7
8
9
10
11
12
13
14
nvm install 12.20.1

nvm use --delete-prefix v12.20.1

nvm use 12.20.1

# set default version
nvm alias default 12.20.1

# check if node is successfully installed

node -v

npm -v

Sometimes it is necessary to restart system to make it into effect~Just drink a java to wait.

有时候抽风需要重启一下~~~~

重装node,用nvm 来管理node版本


About VUE

  1. tag -template- only allows one same name tag at same level. template的同级元素只有一个
  2. vue.config.js: define port and proxy address;if port is oppupied, it will increase by 1 automatically;
  3. package.json: define operation to run with npm command ,rules ,verisions of depencies and others….
  4. package-lock.json:is same as .ignore file of git; 锁定版本和校验,一般忽略

About Ant

https://2x.antdv.com/components/overview-cn/

github:https://github.com/vueComponent/ant-design-vue

Tutorial Web

http://books.createhoto.com/

https://developer.mozilla.org/en-US/docs/Web/HTML

Summary

  1. Rebuild a jeecg project from coding platform with VUE2;
  2. Get the method to change versions of VUE easily;
  3. Get to know some links to learn front-end;
  4. More familiar with VUE;

Record Of March 13th
https://iceswear.github.io/2023/03/13/Record-Of-March-13th/
Author
Spike Wong
Posted on
March 13, 2023
Licensed under