Vue3 Admin Ts Versions Save

🎉 the ts version of vue3-admin-template

v1.5.5

2 years ago

update log

v1.5.5

Features

add the vue3+vite2 unit-test func

Bug fixes

  • change the "vite-plugin-vue-setup-extend" plugin to "vite-plugin-vue-setup-extend-plus" and then fix the issue of debug
  • remove the key prop of three level keep-alive container in order to fix the multi call the onMounted when the three level keep-alive
  • fix .husky about pre-commit no breaking when the eslint has error

devDependencies of unit-test

 "jest": "<27",
 "ts-jest": "<27",
 "tslib": "^2.4.0",
 "vue-jest": "^5.0.0-alpha.10",
 "@babel/preset-env": "^7.17.10",
 "@types/jest": "<27",
 "@vue/test-utils": "^2.0.0-rc.18",
 "babel-jest": "<27",
 "jest-serializer-vue": "2.0.2",
 "jest-transform-stub": "2.0.0"

How to migrate Element Plus

See how to migrate from ElementUI to Element Plus in our dedicated discussion:

  • For English: #5658
  • 简体中文: #5657

v1.5.0

2 years ago

update log

v1.5.0

Features

**update the vuex4 to vuex5(pinia2.x) **

Bug fixes

devDependencies

//update
"vite": "2.9.1",
"element-plus": "2.1.7",

How to migrate

See how to migrate from ElementUI to Element Plus in our dedicated discussion:

  • For English: #5658
  • 简体中文: #5657

v1.4.5

2 years ago

update log

v1.4.5

Features

**add the demo of worker **

Bug fixes

devDependencies

//update
"vite": "~2.8.6",
"element-plus": "~2.1.4",

How to migrate

See how to migrate from ElementUI to Element Plus in our dedicated discussion:

  • For English: #5658
  • 简体中文: #5657

v1.4.3

2 years ago

update log

v1.4.3

Features

**add the sub menu scss var config **

Bug fixes

devDependencies

//update
"vite": "~2.8.6",
"element-plus": "~2.0.5",

How to migrate

See how to migrate from ElementUI to Element Plus in our dedicated discussion:

  • For English: #5658
  • 简体中文: #5657

1.4.1

2 years ago

update log

v1.4.1

Features

**add three level router keep-alive **

add element-plus svg icon use component , register it to global

Bug fixes

devDependencies

//update
"vite": "2.8.4",
"element-plus": "^2.0.2",
"vue": "3.2.31",

How to migrate

See how to migrate from ElementUI to Element Plus in our dedicated discussion:

  • For English: #5658
  • 简体中文: #5657

v1.4.0

2 years ago

update log

v1.4.0

Features

update element-plus version to 2.0.1 release version

remove the mixin instance of hooks and proxy key using

import the "unplugin-auto-import unplugin-vue-components" plugin to auto import the "Dependencies" such as "vue"

Bug fixes

devDependencies

//update
"vite": "2.7.13",
"element-plus": "2.0.1",
"vue": "3.2.29",

 //add
 "unplugin-auto-import": "0.5.11",
 "unplugin-vue-components": "0.17.14",
 "vite-plugin-vue-setup-extend": "0.4.0",

How to migrate

See how to migrate from ElementUI to Element Plus in our dedicated discussion:

  • For English: #5658
  • 简体中文: #5657

v1.3.5

2 years ago

sync to plus

v1.3.1

2 years ago

v1.3.1

Features

  • vite.config.js

         /*
         * "/vue3-admin-plus" nginx deploy folder
         * detail to look https://vitejs.cn/config/#base
         * */
        base: `/${packageJson.name}/`,
       //add assetsDir rollupOptions config   
       build: {
          minify: 'terser',
          brotliSize: false,
          chunkSizeWarningLimit: 2000,
          //remote console.log in prod
          terserOptions: {
            compress: {
              drop_console: true,
              drop_debugger: true
            }
          },
          //build assets Separate
          assetsDir: 'static/assets',
          rollupOptions: {
            output: {
              chunkFileNames: 'static/js/[name]-[hash].js',
              entryFileNames: 'static/js/[name]-[hash].js',
              assetFileNames: 'static/[ext]/[name]-[hash].[ext]'
            }
          }
        }, 
    

    . add vscode recommend config -> .vscode folder

    . add image upload and Add watermark demo, you can look for

Bug fixes

Refactors

  • remove vite.config.js extensions , Adapted to vite 2.4.1, so you need add .vue extension when import file, why remove it you can look for https://github.com/vitejs/vite/issues/6026

       resolve: {
          alias: {
            '~': resolve(__dirname, './'),
            '@': resolve(__dirname, 'src')
          }
          //remove it 
          //extensions: ['.js', '.ts', '.jsx', '.tsx', '.json', '.vue', '.mjs']
        },
    
  • in hooks Folder , rename the file name start with use.. , Adapted to hook writing specification

    ├── hooks                       
    │   ├── useErrorLog.js
    

│   ├── useTablePage.js │   ├── useTest.js



version update

```json
vue 3.2.25
vite 2.4.1
element-plus 1.2.0-beta.6

v1.2.3

2 years ago

v1.2.2

2 years ago

//11-11 update element-plus vite2 vue3 version ,add func of element-svg icon for side menu add domo of 'import export download template' in CRUD