Skip to content

Releases: jzfai/vue3-admin-plus

v1.5.5

04 May 11:24
Compare
Choose a tag to compare

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:

v1.5.0

03 Apr 10:51
Compare
Choose a tag to compare

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:

v1.4.5

18 Mar 02:09
Compare
Choose a tag to compare

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:

v1.4.3

08 Mar 06:43
Compare
Choose a tag to compare

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:

v1.4.0

07 Feb 10:10
Compare
Choose a tag to compare
element-plus to 2.0.1 release version

v1.3.6

24 Jan 08:23
Compare
Choose a tag to compare

v1.3.6

Features

update element-plus version to 1.3.0-beta.7
the size options change to "large default small"

Bug fixes

v1.3.5

11 Jan 08:26
Compare
Choose a tag to compare

sync to micro-service-plus
add d3 demo
update vite version to 2.7.10
remove "@vue/compiler-sfc": "3.2.26",

1.3.2

14 Dec 10:59
Compare
Choose a tag to compare

add settings.js doc

v1.3.1

13 Dec 08:36
Compare
Choose a tag to compare

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 vitejs/vite#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

26 Nov 10:05
Compare
Choose a tag to compare

//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
//11-26
update vue3 version and so on;
add keep-alive use demo and router using demo ,look for "http://8.135.1.141/vue3-admin-template/#/writing-demo/keep-alive"
add the param cachePage and leaveRmCachePage to route for keep-alive,look for https://github.com/jzfai/vue3-admin-template/blob/master/src/router/index.js
add collection the error log of img loading fail,look for "http://8.135.1.141/vue3-admin-template/#/error-log/log"
in router page you need add root element,such as div, but is not necessary for children component
fix some issue