- Use
path.posix.resolve
instead ofpath.resolve
to avoid drive letter problems when usingelectron
inwindows
environment - By default, the
CachingAsyncRoutes
dynamic routing cache is turned off locally, making it easier to debug in the development environment. It is not necessary to clear the local cached dynamic routing every time you modify the dynamic routing. It is recommended to enable it in the production environment
- Upgrade
vite4
version
- Fix the problem that
hmr
ofvite
is slow due to the wrong way of importingtailwind.css
- Update @pureadmin/theme to the latest version, bringing more friendly type hints
- Optimize PureTableBar component
- Optimize the business code of the system management page to bring better code reference
- completely removed
lodash
and its related libraries [Click here to see Why Removed? How to integrate it yourself? ](https://yiming_chang.gitee.io/pure-admin-doc/pages/FAQ/#%E5%B9%B3%E5%8F%B0%E5%9C%A8-v3-9-5-%E7 %89%88%E6%9C%AC%E5%AE%8C%E5%85%A8%E7%A7%BB%E9%99%A4%E4%BA%86-lodash-%E5%92%8C% E5%85%B6%E7%9B%B8%E5%85%B3%E5%BA%93-%E4%B8%BA%E4%BB%80%E4%B9%88%E7%A7%BB%E9 %99%A4-%E5%A6%82%E4%BD%95%E8%87%AA%E8%A1%8C%E9%9B%86%E6%88%90)
- Add
@pureadmin/table
table dynamic column example
- Fix dynamic route
rank
issue - Fix dark theme styling issues
- optimize the route
rank
, whenrank
does not exist, it will be created automatically according to the order, the home page route will always be the first
- Completely removed
vxe-table
, after removal, the overall package size of the full version is reduced by1.82MB
, and the initial startup time is basically the same as the lite version ๐ฎ Click here to see Why Removed? How to integrate it yourself?
- Add
@pureadmin/table
table selector (single select, multiple select) example
- Add
@pureadmin/table
pagination and loading animation example
- Fixed the problem that the refresh page would be blank due to changes in dynamic routes stored in local storage after enabling
CachingAsyncRoutes
- Fixed
Tooltip
displayed abnormally after the menu is collapsed
- Expand the use of local icons, the first launch of the full version reduces
13
requests again - When the menu loading is slow, add
loading
animation to optimize user experience - Theme initialization is placed in
onBeforeMount
to avoid flashing of the initialization page
- Global coverage of
el-dialog
,el-drawer
,el-message-box
,el-notification
components ofelement-plus
The style of the close icon in the upper right corner makes it more vivid specific modification Code record - The packaging output information is compatible with different packaging output paths
- Optimize some animations
- Add
CachingAsyncRoutes
whether to enable dynamic route cache local global configuration, defaulttrue
- Add
TooltipEffect
global configuration, you can configure theeffect
attribute of allel-tooltip
on the platform body, the defaultlight
, does not affect the business code - Add directory, menu text exceeds display
Tooltip
text prompt demo
- Optimize
initRouter
method, compatible withsso
scenario - Breadcrumb animation style optimization
- Fixed the jitter problem caused by the scroll bar on the page when the text is too long when exiting the full screen
- Fix some type errors
- perf: Great optimization of the first screen loading. Compared with the version before
3.9.0
, the first screen requests are reduced by71
, and the first screen loading resources are reduced by4.1 MB
- perf: Great package optimization, please be sure to upgrade! Use
unplugin-vue-define-options
to replaceunplugin-vue-macros
, the packaging speed is increased several times, useunplugin-vue-macros
to takemac
with moderate performance as an example, the packaging time of the full version is6
minutes๐ญ, after replacing it withunplugin-vue-define-options
, the packaging time on the same computer is50
secondsโบ๏ธ
- Add
message
message prompt function, compatible withElement Plus
andAnt โโDesign
twoMessage
style styles, use and package size are extremely low cost and adapt to dark mode, really fragrant ๐
- perf: No need to install
@vue/runtime-core
, compatible withvolar
hints of allelement-plus
components
- Great optimization, remove
@pureadmin/components
and use compatible writing, the package size of the platform is reduced by0.4
MB before compression is not enabled, and the resource of2.3
MB is reduced for the first screen request, which is for the lite version is a very big optimization, the streamlined version has synchronized code
- Add
@pureadmin/table
multiple data format (deep structure) examples - Add
@pureadmin/table
image preview example - Add
@pureadmin/table
row and column drag example - Add
@pureadmin/table
context menu example - Add
@pureadmin/table
exportExcel
example - Add
@pureadmin/table
edit cell example - Add
@pureadmin/table
watermark example - Add
@pureadmin/table
print example - Add
@pureadmin/table
embeddedecharts
chart example - Add
svgo
to compress allsvg
files on the platform to reduce the size
- The static routing platform automatically imports without manual import
- Improved global type hints
- Optimize
vite
to rely on pre-built configurations in the platform, and the loading speed of page switching is significantly accelerated
- Fixed the problem that the tab page may not be reset when logging out when the tab page cache is not turned on
- Replace
driver.js
withintro.js
- Add front-end single sign-on, test address https://yiming_chang.gitee.io/vue-pure-admin/#/pure-table/index?username=sso&roles=admin&accessToken=eyJhbGciOiJIUzUxMiJ9.admin
- Add more examples for @pureadmin/table and
element-plus
[table](https://element-plus.org /zh-CN/component/table.html) example remains the same - Rich watermark function page (supports customizing various colors, shadows, text, additional attributes, setting undeletable watermarks and setting watermarks for specified elements)
- Optimize the menu, add
MenuArrowIconNoTransition
global configuration, configure it inpublic/serverConfig.json
, for the left menu mode, the menu expansion can be setMenuArrowIconNoTransition: true
to solve - Replacement form designer component demo
- Repair the in-page menu with parameters to jump to each other, the label is not selected and highlighted
- Removed deprecated
$baseUrl
- Compatible importing a certain library leads to
global is not defined
error, importingsrc/utils/globalPolyfills.ts
file intosrc/main.ts
can solve the problem - Remove
@vitejs/plugin-legacy
,vue3
cannot make it supportie
through any tool
- Menu icon
icon
supports using online icons
- Fixed
vxe-button
font color issue after mouse overlay and some other style issues
- Optimize the routing guard, if you have logged in and there is login information, you cannot jump to the routing whitelist, but continue to stay on the current page
- Removed
baseURL
and global environment proxy, and can be written directly invite.config.ts
, which is convenient and supports multiple proxy addresses
- Static resource classification and packaging
- Add danmaku component
demo
- Fix the
collapse
property added in the latest version oftailwindcss
conflicts with the platformclass
class name - Fix that when the
token
expires, if the page has multiple requests, thetoken
will be refreshed repeatedly
- Replace
/@/
alias with@/
alias
- Add whether to start
cdn
for packaging to replace the local library configuration, the defaultfalse
does not start - Added optional
gzip
andbrotli
compression modes for packaging builds
- Fix
title
too long display style problem - Fix the parent
name
in the route should not be repeated with the childname
, which will cause redirection to jump404
problem
- Upgrade
axios
to the latest version
- Add file download
demo
- Add typewriter component
demo
- Added
json
editordemo
- Refactor the permission module, adopt the most commonly used
RBAC
(Role-Based Access List): role-based permission control (User -> Role -> Permission), and update the page permission and button permissiondemo
example, button Permissions support three operation modes (judging permissions in component mode, judging permissions in function mode, and judging permissions in instruction mode)
- Fixed the theme not being emptied when clearing the cache and returning to the login page
- Fix
menu
display problem in production environment inhorizontal
mode - Fixed the problem that the
mix
mixed mode navigation might not be displayed in the left menu of the production environment - After the
token
expires, calling the refreshtoken
interface will cause an infinite loop
- Removed uncommon
@apply
fromtailwind.css
- Replace
//
comments with/** */
, which is more friendly to the editor's intellisense - Optimize the login enter event
- Simplified some functions, eliminated useless functions, and optimized page loading speed
- Add
cssnano
to compress the size ofcss
when packaging - Add
element-plus
seamless scrollingTable
page demo - Open
vscode
bracket pair guide
- Replace
unocss
withtailwindcss
, addtailwindcss
documentation
token
expires, refresh the infinite loop
- When resetting the route, clear the cached page
process
is not defined in path- Fixed an error when dynamic routing
children
is an empty array - Fixed
iframe
loading failure
- Fix local responsive storage object setting issue
- Optimized routing
- Optimized for mobile compatibility
- Optimized routing parameters (
query
,params
way to refresh the page does not need to open the tab page cache, the parameters can be retained on theurl
andtab page
)
- Secondary encapsulation of
Table
ofelement-plus
into @pureadmin/table, providing flexible configuration items and integrating into the platform - Secondary encapsulation of
Descriptions
ofelement-plus
into @pureadmin/descriptions, providing flexible configuration items and integrating into the platform - Centralize most of the tools and hooks of the platform to @pureadmin/utils, and delete the code concentrated in this library to reduce the size of the platform
- Add unplugin-vue-define-options plugin, the page can directly write
defineOptions({name: custom name})
- Add project files, language analysis tool cloc
- Added landing page internationalization
- Add full routing configuration table type declaration
- Add virtual listing page demo
- Add
PDF
preview page demo - Added export
execl
page demo - Added blank page demo without
Layout
- Refactored the theme color to adapt to
element-plus
dark mode (also solved the problem that the same elementcss
in3.3.0
and earlier versions was overwritten many times, resulting in poor style debugging) - Refactored route reset function
- The compatible project storage directory is named in Chinese, but we really do not recommend Chinese naming, because a library may not escape the Chinese path, causing the project to crash
- Optimized interface type
- Fixed async routes with
showlink
set tofalse
, not showing after refresh - Fixed vertical navigation menu text being hidden after collapse when there is no
icon
- Add user management page demo
- Add role management page demo
- Add department management page demo
- Add card list page demo
- Integrated form designer
- Added
PPT
demo - Added anti-shake interception demo in the function menu
- Upgrade
wangeditorV5
(and support internationalization and custom themes) - Integrate
tauri
version - Added barcode function
- Added QR code function
- Use the
Cascader
cascade selector inelement-plus
to write a three-level and two-level linkage demo of Chinese provinces and cities - Integrate
Swiper
plugin - Routing supports passing
component
, representing the component path - Added pre-release packaging mode
- Add [hooks] to close a tag (https://github.com/pure-admin/vue-pure-admin/commit/5e8723a031923e79f507e5a17151d3bd88a51523)
- Refactored the landing page to be more inclined to the actual business scenario
- Use
unocss
instead ofwindicss
,unocss
has better performance in development environment, no memory leaks, andapi
is compatible withwindicss
- Optimized the style of the
split-pane
component for the platform - Optimize internationalization, no longer pass the
i18n
field in the route, the platform automatically reads the files in thelocales
folder of the root directory for internationalization matching - Optimized icon selector
- Optimize
layout
to display user information commit
- Fix route initialization problem (Cannot access 'constantRoutes' before initialization)
- Icon selection component
- Menu search function
- Added results page
- Extended
element-plus
timeline component - Extended
element-plus
tree component to support connecting lines - Add tree selector, support single and multiple selection
- Optimized the error page UI
- Optimize the internationalization function
- Optimized routing
rank
sorting, compatible with the case where the value of therank
field in the routingmeta
isnull
- Fixed the situation where the menu expands and folds will freeze on some computers
- iframe supports dynamic loading
- Watermark example
- Print examples (pictures, tables, echarts)
- Add running and packaging information, use
lodash-unified
to replacelodash-es
,lodash-unified
supportsESM
and is compatible withCJS
- Fixed jumping to another menu page alone in one menu page, the routing page jumped but the tab page was not displayed
- Fixed the route that returns dynamic level 3 and above in the background, and the menu does not correspond to the page
- Added mix navigation
- Fix tab page bug
- Added package size analysis, command
pnpm report
- Use
iconify
to introduce icons on demand, optimize icon size, and reduce network requests - Optimize the route, the route can not pass
showLink: true
, it is displayed by default
- Added
WindiCSS
support - Add online environment remove console plugin
vite-plugin-remove-console
- Replace
@element-plus/icons-vue
with@iconify-icons/ep
-Added dark theme -Add element-plus custom theme -Add guide page
-Optimize internationalization, compatible with the vscode plug-in i18n Ally smart reminder
-Optimize the back-end return routing structure
-Optimize local storage, with four built-in buttons responsive-configure
, responsive-locale
, responsive-layout
, responsive-tags
, which are basic configuration, international configuration, layout configuration, and tab persistent configuration
- New tab reuse
- New message reminder template
- Added front-end menu tree structure example
- Refactor routing, optimize permissions modules, and bring a more convenient experience
- Refactor the env environment and http request to bring a more convenient experience
- Currently, the tabs of the platform are forced to associate with local storage. The next step is to put the tabs in the memory by default and support configurable persistent tabs
- Navigation menu icons support fontawesome, iconfont, remixicon, element-plus/icons, custom svg
- Update font-awesome to version 5.0, because versions below 5.0 are no longer officially maintained, but the platform will still be compatible with font-awesome4 version
- Optimize the tab page to bring a better interactive experience
- Routing title supports direct writing in Chinese, which can be separated from internationalization
- Route history mode is read from env and supports base parameter
- Refactored navigation theme color, supports multiple color schemes
- Refactored login page, illustration style
- Optimize the navigation style
- Eliminate strong navigation dependence on vxe-table
- Synchronously update element-plus, replace Font Icon with SVG Icon
- Route animation (each route can add different animations)
- Extra icons (for example, this is a newly added page, a new icon is displayed in the upper right corner of the routing menu)
- Extract the default configuration options
- Perfect type file
- Fix the issue of element-plus internationalization
- Fix routing issues
- Fix navigation adaptation problem
- Feat horizontal nav
- Release 2.0.0 version