xctc-vue-utils

npm publish (npm环境下管理员使用)
2,631
Install
npm install xctc-vue-utils
Latest Version:0.2.82
Vue:3
License:ISC
Last Updated:Sep 21, 2024
Links: Gitee  ·  npm
Maintainer: dyb_website

npm run build (npm环境下管理员使用)

npm publish (npm环境下管理员使用)

npm unpublish xctc-vue-utils@0.2.76

使用时引入该 npm 包

npm install xctc-vue-utils@latest

npm uninstall xctc-vue-utils

公共组件注册

  • 在vue项目入口文件 main.ts 中注册组件

import {componentsPlugins}  from "xctc-vue-utils"

import "xctc-vue-utils/lib/style.css"

app.use(componentsPlugins)

公共函数使用

  • 在vue对应的文件中使用

import {vueUtils} from "xctc-vue-utils"

eg:  vueUtils.formatRouterDataSource() 格式化得到动态路由 vue-router 需要的数据

Related Packages

@web-types/vue-router

Web-types for vue-router

1,340,437 306
@fastkit/vue-location

vue-location

5,514 6
vue-routes-design

简化vue-router的路由配置

914 5
vuex-router-sync

Effortlessly keep vue-router and vuex store in sync.

4,091,575 2,487
storybook-vue3-router

A Storybook decorator that allows you to build stories for your routing-aware co...

3,427,055 32

Version History

Version Released Vue License
0.2.82 ^3.4.19 ISC
0.2.80 ^3.4.19 ISC
0.2.79 ^3.4.19 ISC
0.2.78 ^3.4.19 ISC
0.2.77 ^3.4.19 ISC