Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Подключение внешних шрифтов woff2, woff, ttf (Vue.js)
- `fonts.css`
- ```
- @font-face {
- font-family: 'Bebas Neue';
- src: local('Bebas Neue Thin'),
- local('BebasNeue-Thin'),
- url('bebasneuethin.woff2') format('woff2'),
- url('bebasneuethin.woff') format('woff'),
- url('bebasneuethin.ttf') format('truetype');
- font-weight: 100;
- font-style: normal;
- }
- ```
- В файле инициализации корневаго инстанса Vue `app.js`
- ```
- import './assets/fonts/fonts.css'
- ```
Add Comment
Please, Sign In to add comment