Install and configure Vue
Install the design system
npm install "@root-axis/design-system"
Setting up your files
import the design system in your main.ts file
import { createApp } from 'vue' import './style.css' import App from './App.vue' import '@root-axis/design-system'; createApp(App).mount('#app')
Import the tokens in your styles file
@import '@root-axis/design-tokens';
Done!
Now you can do whatever you want with the component
<script setup lang="ts"> import { ref } from 'vue' const count = ref(0) </script> <template> <ra-button @click="count++"> count is {{ count }} </ra-button> </template>