Skip to content
Snippets Groups Projects
Commit f944c92b authored by Emmanuel Salomon's avatar Emmanuel Salomon :fist:
Browse files

fix: reduce bundle size w/ fontawesome config + fix PWA

parent 57706955
No related branches found
No related tags found
No related merge requests found
......@@ -65,8 +65,65 @@ export default {
component: 'fa', // component name
addCss: false,
icons: {
solid: true,
brands: true,
solid: [
'faHome',
'faSearch',
'faSkullCrossbones',
'faChevronLeft',
'faChevronRight',
'faArrowLeft',
'faArrowRight',
'faSun',
'faMoon',
'faHeart',
'faInfoCircle',
'faCheckCircle',
'faExclamationCircle',
'faExclamationTriangle',
'faExternalLinkAlt',
'faBars',
'faUserCircle',
'faGlobe',
'faAngry',
'faCompressArrowsAlt',
'faExpandArrowsAlt',
],
brands: [
'faCreativeCommonsNcEu',
'faDiaspora',
'faDiscourse',
'faGithub',
'faGitlab',
'faYoutube',
'faRocketchat',
'faFacebook',
'faTwitter',
'faDiscord',
'faApple',
'faAndroid',
'faBitcoin',
'faChrome',
'faFirefox',
'faCodepen',
'faDev',
'faDocker',
'faDropbox',
'faMastodon',
'faMedium',
'faNpm',
'faReddit',
'faSlack',
'faSoundcloud',
'faSpotify',
'faSteam',
'faTeamspeak',
'faTelegram',
'faTrello',
'faVimeo',
'faWhatsapp',
'faWikipediaW',
'faWordpress',
],
},
},
],
......@@ -93,6 +150,16 @@ export default {
// Axios module configuration (https://go.nuxtjs.dev/config-axios)
axios: {},
// https://pwa.nuxtjs.org/manifest
pwa: {
manifest: {
short_name: 'monnaie-libre',
theme_color: '#5b21b6',
lang: 'fr',
useWebmanifestExtension: false,
},
},
// https://github.com/Chantouch/nuxt-clipboard
clipboard: {
autoSetContainer: true,
......
static/icon.png

5.61 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment