This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<header id="header"> | |
<ul id="header__nav--list"> | |
<li v-for="(item, itemKey) in items" :key="itemKey"><router-link :to="item.path" exact>{{item.name}}</router-link></li> | |
</ul> | |
</header> | |
</template> | |
<script> | |
export default { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import VueRouter from 'vue-router'; | |
import config from './example-config'; | |
// Please notice that every Vue-Component is exporting a meta object with a title in my instance: | |
// exports default {}; | |
// exports meta { | |
// title: 'example', | |
// ... | |
// }; | |
// generate routes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2019-03-25T10:37:58.785Z","extensionVersion":"v3.2.7"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name shop-domain.com; | |
# Proxy for ACME-Challenges | |
location ^~ /.well-known/acme-challenge { | |
allow all; | |
proxy_pass http://acme-upstream$uri; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from 'vue' | |
import { library } from '@fortawesome/fontawesome-svg-core' | |
import * as faIconsSolid from '@fortawesome/free-solid-svg-icons' | |
import * as faIconsRegular from '@fortawesome/fontawesome-free-regular' | |
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome' | |
const loadFontAwesomeIcons = (fontAwesomeIcons) => { | |
Object.keys(fontAwesomeIcons).forEach(faIconName => { | |
if (faIconName.startsWith('fa') && fontAwesomeIcons[faIconName].iconName) { | |
library.add(fontAwesomeIcons[faIconName]) |