Skip to content

Instantly share code, notes, and snippets.

@pierbotteroweb
pierbotteroweb / vue-slot-example.vue
Last active May 3, 2025 17:11
This is a vue Slot Example
<Card>
<template v-slot:title>
<h3>Card Title</h3>
</template>
<p>This is the main content of the card.</p>
<template v-slot:footer>
<small>Card footer info</small>
</template>
</Card>
@pierbotteroweb
pierbotteroweb / README.md
Last active June 29, 2018 12:48 — forked from sgnl/README.md
Setting up SASS (SCSS) files with gulp, gulp-sass, and Browser Sync!

Create a new temp project

  1. $ mkdir sass_gulp_workshop
  2. cd into the new directory
  3. Initialize NPM: $ npm init --yes
  4. Install gulp and gulp-sass packages: $ npm install -D gulp gulp-sass browser-sync
  5. Update package.json's scripts section with this key-value pair: "scripts": { "dev": "gulp" }
  6. Recreate this file structure in this directory:
  • public (directory)
    • css (directory)
    • index.html (file)