fx-module-component
v0.0.9
Published
You must install and import element-plus first!!! Please use the latest version
Downloads
3
Readme
fx-module-component
How to use?
You must install and import element-plus first!!! Please use the latest version
- install
pnpm install fx-module-component element-plus
- import
global
// src/main.ts
import { createApp } from "vue";
import ElementPlus from "element-plus";// You must import element-plus first
import "element-plus/dist/index.css";// You must import element-plus first
import "element-plus/theme-chalk/src/index.scss";// You must import element-plus first
// import here
import FxModuleComponent from "fx-module-component";
// import .css here
import "fx-module-component/dist/style.css";
const app = createApp(App);
// use here
app.use(X);
or local
// src/main.ts
import { createApp } from "vue";
import ElementPlus from "element-plus";// You must import element-plus first
import "element-plus/dist/index.css";// You must import element-plus first
import "element-plus/theme-chalk/src/index.scss";// You must import element-plus first
// import .css here
import "fx-module-component/dist/style.css";
// import component to your .vue
import { FxCard } from "fx-module-component";