Install Jigsaw. To get started quickly, install the blog template.
composer require tightenco/jigsaw
vendor/bin/jigsaw init blog
<?php | |
namespace Database\Seeders; | |
use App\Models\Course; | |
use EchoLabs\Prism\Prism; | |
use Illuminate\Database\Seeder; | |
use Illuminate\Support\Facades\File; | |
use EchoLabs\Prism\Schema\ArraySchema; | |
use EchoLabs\Prism\Schema\NumberSchema; |
<?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> |