Documentation

Vue.js

To include Fontsource into your Vue.js project, you can import the Fontsource files into your entry point with the appropriate bundler setup.

Installation

⬤⬤

import { createApp } from "vue";
import "@fontsource-variable/open-sans/wght.css";
import App from "./App.vue";
createApp(App).mount("#app");

js