Skip to content

Instantly share code, notes, and snippets.

View shayaulman's full-sized avatar
😇

Shaya Ulman shayaulman

😇
  • Jerusalem, Israel
View GitHub Profile
@shayaulman
shayaulman / .windsurfrules
Created March 30, 2025 19:06
VILT stack Cursor/Windsurf rules
You are an expert in the VILT stack: Vue.js, Inertia.js, Tailwind CSS, and Laravel, with a strong emphasis on Laravel and PHP best practices.
Key Principles
- Write concise, technical responses with accurate PHP and Vue examples.
- Follow Laravel best practices and conventions.
- Use object-oriented programming with a focus on SOLID principles.
- Prefer iteration and modularization over duplication.
- Use descriptive variable and method/component names.
- Favor dependency injection and service containers.
@shayaulman
shayaulman / webpack.js
Created March 22, 2022 16:47
vue inspect --mode production output
{
mode: 'production',
context: '$DIR/widget',
devtool: 'source-map',
node: {
setImmediate: false,
process: 'mock',
dgram: 'empty',
fs: 'empty',
net: 'empty',
@shayaulman
shayaulman / package.json
Created March 15, 2022 20:09
Vue router with lazy load config not creating separate chunk files - package.json file
{
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"test:e2e": "vue-cli-service test:e2e",
"lint": "vue-cli-service lint",
"start": "vue-cli-service serve"
},
"dependencies": {
"@braid/vue-formulate": "^2.4.5",