Skip to content

Instantly share code, notes, and snippets.

View felixranesberger's full-sized avatar
⛰️

Felix Ranesberger felixranesberger

⛰️
View GitHub Profile
import * as process from 'node:process'
import { defineConfiguration } from '@in2code-team/frontend-toolchain'
defineConfiguration({
mode: process.env.VITE_MODE || 'development',
entry: 'src/main.js',
entryDir: 'src',
eslint: 'eslint.config.js',
outputDir: {
styleguide: 'HTML-Prototype',
@felixranesberger
felixranesberger / index.html
Created June 22, 2022 13:58
Browser-Sync F is not a function
<body>
<!-- (Injected browser-sync-client code => No async loading anymore -->
<script src="/browser-sync/browser-sync-client.js?v=2.27.10"></script>
<!-- Requirejs should be loaded at the bottom of the body-->
<script data-main="JavaScripts/main" src="JavaScripts/Vendor/require.js"></script>
</body>
@felixranesberger
felixranesberger / google-map.vue
Last active January 12, 2022 13:39
Vue3 Google Map Setup
<template>
<div class="o-container o-container--fullwidth frame-space-bottom-small">
<GMapMap
:options="{
styles: mapStyle,
}"
:center="props.mapData.mapCenter"
:zoom="props.mapData.mapZoom"
styles="width: 100%; height: 500px"
>