@mirweb/mir-web-components
v2.1.1
Published
This is Mobile Industrial Robots component library for MiR Main, Support Portal and Academy built in Vue 3 + TypeScript + Vite.
Downloads
533
Readme
Mobile Industrial Robots component library for web
This is Mobile Industrial Robots component library for MiR Main, Support Portal and Academy built in Vue 3 + TypeScript + Vite.
Setup
Make sure to install the dependencies:
# yarn
yarn install
How to add a new component
Create a new folder and file under /components
Import the component in App.vue ex:
import frontpageHero from "@/components/blocks/frontpage-hero/frontpage-hero.vue";
Import the global styles in App.vue
@import "@/assets/main.scss";
When the component is done, remember to export it under both index.ts and main.ts under /components
And please clean up the App.vue in the commit
Development Server
Start the development server
pnpm dev
Production
Build the library for production:
pnpm build