Skip to content

Instantly share code, notes, and snippets.

View Tresor-Kasenda's full-sized avatar
🏠
Working from home

Tresor-Kasenda Tresor-Kasenda

🏠
Working from home
View GitHub Profile
@Tresor-Kasenda
Tresor-Kasenda / app.js
Created November 28, 2022 13:53 — forked from echr/app.js
Simple Laravel + Vue + Laravel Mix + Firebase Notification (PWA, Offline)
// FILE PATH: /resources/js/app.js
require('./bootstrap');
// Import Service Worker Registry
require('./extensions/sw-registry');
import Vue from 'vue';
...
@Tresor-Kasenda
Tresor-Kasenda / .angular-htaccess.md
Created January 21, 2021 14:20 — forked from julianpoemp/.angular-htaccess.md
Optimal .htaccess configuration for Angular 11, Angular 10, Angular 9, Angular 8, Angular 7, Angular 6, Angular 5 (and older) app in production incl. fix for the angular browser caching issue.

New generator

I created a new htaccess generator for angular apps that makes it easier for you to create the optimal htaccess file: https://julianpoemp.github.io/ngx-htaccess-generator/

The goal of this generator is to make the configuration process much easier. To make this possible I created a kind of interview mode with some questions. As an additional feature the generator supports adding exclusions for example if you have installed a blog in a subdirectory of your web application.

The generator 😁: https://julianpoemp.github.io/ngx-htaccess-generator/ The project: https://github.com/julianpoemp/ngx-htaccess-generator Place for issues and bug reports: https://github.com/julianpoemp/ngx-htaccess-generator/issues