In your command-line run the following commands:
brew doctor
brew update
In your command-line run the following commands:
brew doctor
brew update
<?php | |
namespace App\Console\Commands; | |
use App\User; | |
use Illuminate\Console\Command; | |
use Illuminate\Support\Facades\DB; | |
use Illuminate\Support\Facades\File; | |
use SplFileInfo; | |
use Statamic\Facades\YAML; |
<script> | |
export default { | |
props: { | |
color: { | |
type: String, | |
default: 'teal', | |
validator: value => ['teal', 'orange'].includes(value) | |
} | |
} | |
} |
const mix = require('laravel-mix'); | |
const tailwindcss = require('tailwindcss'); | |
const rootPath = Mix.paths.root.bind(Mix.paths); | |
const tailwindPlugins = function(configFile, paths) { | |
const pluginList = [tailwindcss(configFile)]; | |
if (mix.inProduction()) { | |
pluginList.push(require('@fullhuman/postcss-purgecss')({ |
{% if cart.paymentMethodId %} | |
<form method="POST" class="form" {% if cart.paymentMethod.class == 'Stripe' %}id="payment-form"{% endif %}> | |
<input type="hidden" name="action" value="commerce/payments/pay"/> | |
<input type="hidden" name="redirect" value="/checkout/complete?number={number}"/> | |
<input type="hidden" name="cancelUrl" value="/checkout/cancelled"/> | |
{{ getCsrfInput() }} | |
{% if errors is defined %} |
<template> | |
<form method="post" accept-charset="UTF-8"> | |
<h3><label for="username">Username</label></h3> | |
<input v-model="username" id="username" type="text" name="username" /> | |
<h3><label for="email">Email</label></h3> | |
<input v-model="email" id="email" type="text" name="email" /> | |
<h3><label for="password">Password</label></h3> | |
<input v-model="password" id="password" type="password" name="password" /> |
import qs from 'qs'; | |
import Axios from 'axios'; | |
Axios.defaults.baseURL = Craft.baseUrl; | |
Axios.defaults.headers.common['Accept'] = 'application/json'; | |
Axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; | |
Axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded'; | |
Axios.interceptors.request.use(config => { | |
if (config.data instanceof FormData) { |
const mix = require('laravel-mix'); | |
const tailwindcss = require('tailwindcss'); | |
require('laravel-mix-purgecss'); | |
mix.setPublicPath('./public/themes/themename') | |
mix.postCss('src/default-src.css', 'css/themename.css') | |
.options({ | |
postCss: [tailwindcss('tailwind.config.js')], | |
processCssUrls: false, | |
}) |
const mix = require('laravel-mix'); | |
const tailwindcss = require('tailwindcss'); | |
require('laravel-mix-purgecss'); | |
mix.setPublicPath('./web') | |
.postCss('src/css/main.css', 'css') | |
.options({ | |
postCss: [tailwindcss('tailwind.config.js'), require('autoprefixer')], | |
processCssUrls: false, | |
}) |