整理時間為 20220420
|
vue2.X
v2.6.14 on 7 jun,2021
https://cn.vuejs.org/
|
vue3.X
v3.2.33 on 15 apr,2022
備注:
january 20,2022 as the default
|
antd
|
v1.x 1.7.8
https://1x.antdv.com/docs/vue/introduce-cn/
|
v3.x 3.2.0
https://www.antdv.com/docs/vue/introduce-cn/
|
vuex
|
v3 3.6.2 (on 26 Jan 2021)
https://v3.vuex.vuejs.org/zh/
|
v4 4.0.2(17 Jun 2021)
https://vuex.vuejs.org/zh/
|
vue-router
|
v3
https://v3.router.vuejs.org/zh/
|
v4
https://router.vuejs.org/zh/
|
less-loader
|
^5.0.X
|
^6.0.X
|
vue.config.js
|
module.exports = {
css: {
loaderOptions: {
less: {
javascriptEnabled: true
}
}
}
}
|
module.exports = {
css: {
loaderOptions: {
less: {
lessOptions: {
javascriptEnabled: true
}
}
}
}
}
|
https://www.cnblogs.com/dhjy123/p/16159307.html
|
20220420
|
使用 npm info 包名 可以查看版本
|
|
vue-cli
|
1.x or 2.x
old version
使用腳手架選擇vue2.x創建項目時,
node版本只支持偶數版,且版本>=12.22.X (20220420)
|
v5.0.4 (on 2022-03-22)
|
nodejs
|
win7 工具檢測最多支持到v13.14.0
網友說最多支持到 v16.6.2
偶數版本是長期維護v12、v14
https://www.cnblogs.com/dhjy123/p/16107907.html
https://registry.npmmirror.com/binary.html?path=node/
|
v13 lastest 13.14.0 v12 lastest 12.14.0 v12 lts12.22.11 |
同樣的項目,高版本的node可能導致項目跑不起來
安裝vue2.x的時候,node版本只支持偶數版