Install Jigsaw. To get started quickly, install the blog template.
composer require tightenco/jigsaw
vendor/bin/jigsaw init blog
<?php | |
namespace Database\Seeders; | |
use Illuminate\Database\Seeder; | |
use Illuminate\Support\Facades\DB; | |
class MovieSeeder extends Seeder | |
{ | |
public function run() |
How would you write this code in options API?
<script setup>
defineProps({
msg: String,
})
</script>
<template>
// Warning: this is just a non-tested example, take it as an starting point draft :) | |
import castArray from 'lodash/castArray' | |
const state = reactive({ | |
data: {}, | |
token: '' | |
}) | |
const getCookieParams = () => { |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Demo</title> | |
</head> | |
<body> | |
<div id="app"> | |
<ckeditor v-model="editorData" :config="editorConfig"></ckeditor> |
{ | |
"data": [ | |
{ | |
"id": 2, | |
"content": "My first post", | |
"user_id": 1, | |
"user": { | |
"id": 1, | |
"first_name": "John", | |
"last_name": "Doe", |