View loadFontAwesomeIcons.js
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]) |
View shop-domain.com.conf
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; | |
} |
View cloudSettings
{"lastUpload":"2019-03-25T10:37:58.785Z","extensionVersion":"v3.2.7"} |
View dynamic-vue-routes.js
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 |
View header.vue
<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 { |