developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
22
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
•
A summary of Node package commands
Short cut commands
npm install...
Andrew Fletcher
•
It appears that the plugin or file path is not working how it used to be on...
Andrew Fletcher
•
Working on a decoupled React / Drupal 9 site.
Aim: Adjust the output of curated...
Andrew Fletcher
•
How to make React calls on a Drupal 9 backend site using the search...
Andrew Fletcher
•
This code is from Drupal 9 back-end for a React front-end via REST API.
Working through the output for recently viewed pages... the code structure:
<?php
namespace Drupal\custom\Plugin\GetData\paragraph;
use Drupal\custom\Plugin\GetData\ContentBase;
use Drupal\custom\Plugin\GetData\ParagraphTrait;
use Drupal\node\Entity\Node;
/**
* Provides Recent view pages data.
*
* @GetData(
* id = "recent_view_pages",
* title = @Translation("Recent view pages Data"),
* )
*/
class...
Andrew Fletcher
•
As a web developer, you will most likely need to run local copies of a bunch of...
Andrew Fletcher
•
Every project has to kick off somewhere. Yep well that's a no brainer....
Andrew Fletcher
•
I installed Lando 3.6.2 and Laravel 9. When I visit the web page, I...
Andrew Fletcher
•
Do you want set up a CI/CD process using GitHub Actions?
This is a walk-through...
Andrew Fletcher
•
If like me you tried the command
php artisanHowever, you had the following “Could not open input file: artisan” error when starting the Laravel service using the above command.
How come “Could not open input file: artisan” error is showing up in Laravel
There are a few causes behind this error.
File doesn't exist
Incorrect console location
Missing correct permission for artisan
Composer install
File doesn't exist
Yep - I know, I shouldn't have to reference this one, but it's...
Andrew Fletcher
•
Step 1: Install Homebrew
Homebrew is the missing package manager for macOS.
As...
Andrew Fletcher
•
Working on a new CentOS 7 server, Node wasn't installed. You can...
Andrew Fletcher
•
I started out with a simple task... install Tailwindcss. What unfolded is...
Andrew Fletcher
•
Localization is the process of showing other languages in your app and is...