In your command-line run the following commands:
brew doctorbrew update
In your command-line run the following commands:
brew doctorbrew 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 gulp = require('gulp'); | |
| const tailwindConfig = "tailwind.js"; /* Path to Tailwind config */ | |
| const mainCSS = "src/style.css"; /* Path to main stylesheet */ | |
| /** | |
| * Custom PurgeCSS Extractor | |
| * https://github.com/FullHuman/purgecss | |
| */ | |
| class TailwindExtractor { | |
| static extract(content) { |
| const {mix} = require('laravel-mix'); | |
| const tailwindcss = require('tailwindcss'); | |
| const glob = require('glob-all'); | |
| const PurgecssPlugin = require('purgecss-webpack-plugin'); | |
| mix | |
| .js('js/src/theme-name.js', 'js/theme-name.js') | |
| .sass('sass/theme-name.scss', 'css') | |
| .options({ | |
| processCssUrls: false, |