Skip to content

Instantly share code, notes, and snippets.

View danielschmitz's full-sized avatar

Daniel Schmitz danielschmitz

  • UFJF
  • Juiz de Fora / Brazil
View GitHub Profile
davoKaqEr06bvQ5dQOY(bHfPGGljPinkfK4uskQwvOIQUfiAxkiAyG0XKKLrj9mfY0iORbOTjv8namof4CsvMNcs6Eki1(avu(NieLdcqTqPspKsutubvxeGSrrWhbvYiPe5KeqRKafVeurMjbQUjbYov0pLuAOIq9Ofe6PqFAsr5QkOSvjfrFveIySIqKoRiewRievpCesZvsryPskSx0FbLbtjCyIwmOQhlKjtPUmPnlsFwOgTc1PvA1Gk8AjvnBQCBcTBr9BjgoqhNaLwofpNQMUQRlLTlv13jaJxsLPkywXarjd8e9eToKwhsOd5aIIeTjAZar71dhTC03(krPZr0OXBjhscQeJnLgirz03(AWSXXQrqfBLtiRGsCTjo86HWIeBkPYCHOxDPjUS5tSBTHqTcsWbucbI5MyWSXXQXZzfrxrAZaXlDA(mquS5(Yappr7nnDJAUNKbIIn3xg45jAkoLbIIn3xg45jc2h8sNMpdefBUVmWZt0iJugik2CFzGNNyQm6BjZarXM7ld888e16aLzB1MWZtmIboRyGOm6BFny24y1iOITYjKvqjEZghRggiQ918jA5s2E)wYEIT8EIxAI1tS5vyT8E2L4M7RgVYUeBzTVMprz7fInVcZdQrB6gbRL3t4jMLIQNboRiMy1FfclQjxtZP5l5jARW3stdjbvIwcW1qqjmmbNNORiTzG4LonFgik2CFzGNNO9MMUrn3tYarXM7ld88enfNYarXM7ld88eb7dEPtZNbIIn3xg45jMkJ(wYmquS5(YapprJmszGOyZ9LbEEEIgnEl5qsqL4gvYeRR20uVEMaKafoyaaaRgbDGWr9ac0ktHuiqIBEpSOIiOtVAZzfX1MyIv)vI2RhoA5OV9vIsNJO02E)wYshSB24y14zGZkgiEZghRggi(KGkr)LV5j28kSlnX6RHkyBRrTzxIAFnFIao6BjdHfdZlH3Pe9n41(A(j2OPBDeXedibxWjAuPdbvNBkfvoHsS5vyEq15MsrLDj2Y
Copy and paste this markdown to control the translation status of your vuejs site
example: https://github.com/vuejs/vuejs.org/issues/456
**Website**
- [ ] Entry Page
**Guide**
- [ ] Installation
- [ ] Introduction
@danielschmitz
danielschmitz / App.vue
Last active November 11, 2017 18:54
Código da App.vue para copiar/colar
<template>
<!-- Don't drop "q-app" class -->
<div id="q-app">
<q-layout ref="layout" view="lHh Lpr fff" :left-class="{'bg-grey-2': true}">
<q-toolbar slot="header" class="glossy">
<q-btn flat @click="$refs.layout.toggleLeft()">
<q-icon name="menu" />
</q-btn>
---
layout: default
---
<main id="scroll" class="home" role="main" itemprop="mainContentOfPage" itemscope="itemscope" itemtype="http://schema.org/Blog">
{% for post in site.posts %}
<article role="article" class="post-item" itemscope="itemscope" itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
<a class="datetime" href="{{ post.url | prepend: site.baseurl }}">
<meta itemprop="datePublished" content="{{post.date}}">
<time datetime="{{ post.date | date_to_xmlschema }}">
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Title of the document</title>
</head>
<body>
Content of the document......
</body>
<template>
<div class="hello">
<h1>\{{ msg }}</h1>
<h2>Essential Links</h2>
<ul>
<li><a href="https://vuejs.org" target="_blank">Core Docs</a></li>
<li><a href="https://forum.vuejs.org" target="_blank">Forum</a></li>
<li><a href="https://chat.vuejs.org" target="_blank">Community Chat</a></li>
<li><a href="https://twitter.com/vuejs" target="_blank">Twitter</a></li>
<br>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>iview example</title>
<link rel="stylesheet" type="text/css" href="http://unpkg.com/iview/dist/styles/iview.css">
<script type="text/javascript" src="http://vuejs.org/js/vue.min.js"></script>
<script type="text/javascript" src="http://unpkg.com/iview/dist/iview.min.js"></script>
<script src="http://unpkg.com/iview/dist/locale/pt-BR.js"></script>
</head>
<!-- import Vue.js -->
<script src="//vuejs.org/js/vue.min.js"></script>
<!-- import stylesheet -->
<link rel="stylesheet" href="//unpkg.com/iview/dist/styles/iview.css">
<!-- import iView -->
<script src="//unpkg.com/iview/dist/iview.min.js"></script>
<!-- locale en-US.js -->
<script src="//unpkg.com/iview/dist/locale/en-US.js"></script>
@danielschmitz
danielschmitz / main.js
Created January 7, 2018 11:27
src/main.js
// src/main.js
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
Vue.config.productionTip = false
/* eslint-disable no-new */
<template>
<div>
<h1>{{ msg }}</h1>
<i-button @click="show">Clica aqui!</i-button>
<Modal v-model="visible" title="Bem vindo">Bem vindo ao iView em pt-BR</Modal>
</div>
</template>
<script>
export default {