Documentation

Vue.js

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

Installation

⬤⬤

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

js