Skip to main content
26
results
Andrew Fletcher
Loading the code in a platform - in this article, I'll be focusing on Android and iOS.  Ionic app shell prompts for iOS and Android devices.   Here's a breakdown of the commands: npm run build This command is used to build your web app. It's typically associated with web development frameworks like Angular, React, or Vue. It compiles your web app source code into production-ready files. npx cap sync This command is part of Capacitor. It synchronizes the web app's built files with the...
Andrew Fletcher
Update Ubuntu 20.04 To begin update the server using the command sudo apt update...
Andrew Fletcher
Installing PHP on OSX and it installed PHP 8.2.x.  However, for my...
Andrew Fletcher
It appears that the plugin or file path is not working how it used to be on...
Andrew Fletcher
  JSON structure Outlining the structure of the elements common attributes:...
Andrew Fletcher
Working on a decoupled React / Drupal 9 site. Aim: Adjust the output of curated content for the Work Resources page.  So the icon is displayed with a path.  Enabling React developers to select whether to use the image or icon. Tools Drupal 9.4 React     Currently, the JSON output  { "id": "content_reference", "title": "Forms", "summary": null, "columns": "3", "cta": { "text": "View all", "href": "https://www.google.com/" }, "content": [ ...
Andrew Fletcher
How to make React calls on a Drupal 9 backend site using the search...
Andrew Fletcher
In this instance, I'll check the beginning of the string.  I want to focus...
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working...
Andrew Fletcher
Working from the bases that .DS_Store has not been added to your git repository,...
Andrew Fletcher
To sort through a multidimensional array seems to be a function that I occasionally call on.  Handy to have referenced here: /** * Loop through a multi dimensional array * * @param array $haystack * Data array. */ protected function sortMultiDimensionalArray($haystack) { foreach ($haystack as $key => $item) { // If $item is an array and the number of children is greater to one // keep looping through the array. if (is_array($item) &&...
Andrew Fletcher
phpcs issue in Visual Studio Code, I'm receiving this warning in VS...
Andrew Fletcher
Had the situation where you are running composer however, the scripts stops with...
Andrew Fletcher
Oh the treasure of a client coming to you with a site they have removed the...
Andrew Fletcher
I installed Lando 3.6.2 and Laravel 9.  When I visit the web page, I...