h-screw
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

这是基于vue3 element-plus的组件库

1. npm 6.x

npm init vite@latest m-components-hx --template vue-ts //使用ts npm init vite@latest my-vue-app --template vue //使用vue

2.安装 router 和 element-plus

cnpm i -S vue-router@next element-plus

3.安装css预处理器

cnpm i -D sass sass-loader

4在ts里面使用lodash

cnpm i -S lodash @types/lodash

安装好后

在main.ts文件里面引入并使用 基本代码如下: import App from './App.vue';

import ElementPlus from 'element-plus';

import 'element-plus/dist/index.css';

import mUI from 'h-screw';

createApp(App).use(ElementPlus).use(mUI).mount('#app');

Package Sidebar

Install

npm i h-screw

Weekly Downloads

30

Version

1.0.2

License

none

Unpacked Size

1.01 MB

Total Files

17

Last publish

Collaborators

  • hexiao516