xattr -d com.apple.quarantine /Volumes/Projects/cli/wpfluent
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
<?php | |
namespace YourProjectNameSpace; | |
class Vite | |
{ | |
protected static $moduleScripts = []; | |
protected static $resourceURL = 'http://127.0.0.1:3333/resources/'; | |
protected static $assetsURL = FLUENT_TABLES_DIR_URL . 'assets/'; |
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
import {defineConfig} from 'vite' | |
import {viteStaticCopy} from 'vite-plugin-static-copy' | |
import vue from '@vitejs/plugin-vue' | |
import react from '@vitejs/plugin-react' | |
import liveReload from 'vite-plugin-live-reload'; | |
import path from "path"; | |
//Important: Key must be output filepath without extension, and value will be the file source | |
const inputs = { | |
'admin/app': 'resources/admin/app.js', |
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
a:2:{i:0;a:3:{s:4:"name";s:8:"John Doe";s:3:"age";i:30;s:5:"email";s:19:"johndoe@example.com";}i:1;a:3:{s:4:"name";s:10:"Jane Smith";s:3:"age";i:25;s:5:"email";s:19:"janesmith@example.com";}} |
ssh-keygen -t rsa -b 4096 -C your@email.com
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
cat ~/.ssh/id_rsa.pub #Mack and linux
clip < ~/.ssh/id_rsa.pub # Windows
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
<?php | |
add_filter('ninja_tables/allowed_css_properties', function($properties){ | |
$properties[] = 'visibility'; | |
return $properties; | |
}); |
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
<?php | |
add_filter('ninja_table_search_time_delay',function($time, $table_id) { | |
return 1500; | |
},10, 2); |
Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).
Make sure git knows about your subtree (the subfolder with your site).
git add dist && git commit -m "Initial dist subtree commit"
Use subtree push to send it to the gh-pages branch on GitHub.
NewerOlder