Audun Rundberg
Audun Rundberg
This seems to work in Firefox and Chrome: ```ts import { useState, useEffect } from 'react'; export const usePrint = (): boolean => { const [isPrinting, setIsPrinting] = useState(false); useEffect(()...
Having similar problems. gulpfile essentials: `mix.browserify('app.js');` app.js: `require('./language.js');` Browser: Uncaught TypeError: Lang is not a constructor It throws the exception at line 2 here (from language.js): ``` (function () {...
OK, thanks. Browserify/Webpack is quite new to me so I tried different variations of require, import, etc, but basically I think me and @kaidoj both would like to combine everything...
Thanks for the update. My current solution is to stop trying to use `import` and `require` (as the whole issue is that doesn't work), but instead generate the language.js and...
https://github.com/spatie/laravel-cors has/had a feature where the loading of the config was handled by a class, and a property in the config defined which class to use. So in cors.php in...
I've started to work on this.
I got it working pretty quickly, then I started working on adding some tests to the existing code to make sure I didn't break anything. I'll see if I can...
I've opened up a pull request for this now.
Is there any way to have this merged, please?
@xingtianyoulong One solution for this package would be to load the secrets earlier in the process, for instance in `bootstrap/app.php`. If you are trying to store any kind of secret...