### Install Vxe Table via NPM Source: https://vxetable.cn/v4/#/start/useTable/install Install the vxe-table package using npm, yarn, or pnpm. Import the necessary modules and CSS, then use the plugin with your Vue application. ```bash npm install vxe-table@4.19.24 # 或者 yarn add vxe-table@4.19.24 # 或者 pnpm add vxe-table@4.19.24 ``` ```javascript // ... import VxeUITable from 'vxe-table' import 'vxe-table/lib/style.css' // ... createApp(App).use(VxeUITable).mount('#app') // ... ``` -------------------------------- ### Pin Vxe Table Version in package.json Source: https://vxetable.cn/v4/#/start/useTable/install Modify your package.json to pin the vxe-table version using '~' instead of '^' to prevent automatic upgrades that might affect existing functionality. ```json { ... "vxe-table": "^4.19.24" ... } ``` ```json 改成 { ... "vxe-table": "~4.19.24" ... } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.