+ // This value will be injected by Webpack
+ declare const I18N_HASH: string;
export function createTranslateLoader(http: HttpClient) {
- return new TranslateHttpLoader(http, './assets/i18n/', '.json');
+ return new TranslateHttpLoader(http, './assets/i18n/', '.json?v=' + I18N_HASH);
}
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 | |
// Define the theme container | |
use \Carbon_Fields\Container; | |
use \Carbon_Fields\Field; | |
$theme_container = Container::make('theme_options', 'Theme')->add_fields([ | |
Field::make('text', 'analytics_id', 'Google Analytics tracking ID'), | |
Field::make('text', 'maps_api_key', 'Google Maps API Key'), | |
// ... | |
]); |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Bevy #7761 example</title> | |
<style> | |
/* Reset */ | |
* { |
OlderNewer