This file contains 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
let data = [ | |
{ | |
id: 1, | |
valor: 'mivalor' | |
}, | |
{ | |
id: 2, | |
valor: 'mivalore ree' | |
}, | |
{ |
This file contains 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
4a82903f00433c1f302343f806e8555a807d9cbc WebFivesClub | |
91cf383ddee0c430f4c7a901bb723312935bba94 Web_ThefivesExperiences | |
69e2331cf0fc5ebd3daae1748288facb5ac04dcf Web_Epictraveler | |
82a577c4822b981b568b8b28bfb2e0cf4c9b936d Web_Romarley | |
a655e29e2c02f6a8066e7bd961c621f6260abb5e Web_FivesRoof | |
246887fee91b1866633489059cb979e4b6c47601 web_marholidays | |
6f292a4810d10da360ab264cf6e6d36b7b4f8ded POS |
This file contains 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
https://itnext.io/vuidget-how-to-create-an-embeddable-vue-js-widget-with-vue-custom-element-674bdcb96b97 | |
Este comando daba problemas al hacer el build | |
npm install webpack --save | |
Mejor desinstalar y reinstalar con | |
npm uninstall webpack | |
npm install webpack@^4.0.0 --save-dev |
This file contains 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
const date = new Date("2015-08-25T15:35:58.000Z"); | |
const seconds = date.getTime() / 1000; //1440516958 |
This file contains 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
En un campo en especifico: | |
<div class="col-lg-4 col-md-6 col-sm-12"> | |
<div class="form-group"> | |
<label>Nombre*</label> | |
<input type="hidden" name="id" id="id" value="{{$user->id}}"> | |
<input type="text" class="form-control" id="name" name="name" autocomplete="off" value="{{$user->name}}" > | |
@if ($errors->has('name')) | |
<span class="text-danger">{{ $errors->first('name') }}</span> | |
@endif |
This file contains 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
$date = Carbon::now(); | |
echo $date->toDateString(); | |
// 2020-06-22 | |
echo $date->toDateTimeString(); | |
// 2020-06-22 19:45:23 | |
echo $date->toFormattedDateString(); | |
// Jun 22, 2020 |
This file contains 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
Una vez clonado nuestro proyecto, abriremos una terminal y nos situaremos en dicha carpeta. Una vez estando ahí ejecutaremos: | |
composer install | |
Generar el archivo .env, sí no existe el .env.example, bajar el ejemplo aquí: | |
https://github.com/laravel/laravel/blob/master/.env.example | |
luego ejecutar | |
cp .env.example .env | |
This file contains 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
(Math.round( stringToDecimal * 100) / 100).toFixed(2) |
This file contains 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
Descartar cambios en local | |
git checkout -- . |
This file contains 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
const { cliente } = context.rootState.cart //busco en cart el objeto cliente, donde cart es el modulo | |
const {idUser, name, lastname } = context.rootState.auth.user //contexto para acceder a los datos del usuario (modulo auth) |
NewerOlder