This file contains hidden or 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
# Uncomment the next line to define a global platform for your project | |
platform :ios, '9.0' | |
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' | |
target 'MyApp' do | |
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks | |
# use_frameworks! | |
# Pods for HelloEnglish |
This file contains hidden or 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
<html> | |
<head> | |
<title>Test app</title> | |
<meta name="csrf-token" content="{{ csrf_token() }}"> | |
<link href="{{ mix('css/app.css') }}" rel="stylesheet"> | |
</head> | |
<body> | |
<div id="container" class="container-fluid"> | |
<div id="app"> |
This file contains hidden or 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
<?php | |
if (!function_exists('ssr')) { | |
function ssr(string $ident = '', $element): string { | |
$path = storage_path('prerendered/'.$ident.'.json'); | |
if (file_exists($path)) { | |
$content = file_get_contents($path); | |
$json = json_decode($content); | |
if ($json && isset($json->$element)) { | |
return $json->$element; | |
} |
This file contains hidden or 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
require('dotenv').config(); | |
const puppeteer = require('puppeteer'); | |
const colors = require('colors'); | |
const path = require('path'); | |
const terminalLink = require('terminal-link'); | |
const createIfNotExist = require("create-if-not-exist"); | |
const fsExtra = require('fs-extra'); | |
const settings = { | |
host: process.env.APP_URL || ``, // Url to visit |