Skip to content

Instantly share code, notes, and snippets.

View mateusavila's full-sized avatar
🏠
Working from home

Mateus Ávila Isidoro mateusavila

🏠
Working from home
View GitHub Profile
@mateusavila
mateusavila / vue
Created September 25, 2023 18:55
DefineExpose teste
<script setup lang="ts">
// Exposed.vue
const a = 1
const b = ref<number>(2)
defineExpose<{
a: number
b: globalThis.Ref<number>
}>({
a,
[
{
"id": 1,
"name": "Motion",
"icon": "/img/category-motion.svg",
"desc": "Criação/edição de vídeos...",
"width": 15,
"height": 12,
"services": [
{
@mateusavila
mateusavila / .js
Last active January 22, 2019 15:01
gulpfile.babel.js
const gulp = require('gulp');
let using = require('gulp-using');
const pkg = require('./package.json');
const jshint = require('gulp-jshint');
const watch = require('gulp-watch');
const stylus = require('gulp-stylus');
const livereload = require('gulp-livereload');
const zip = require('gulp-zip');
let uglify = require('gulp-uglify-es').default;
const concat = require('gulp-concat');