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 { ApiService } from '../'; | |
jest.mock('../', () => ({ | |
ApiService: { | |
get: jest.fn(), | |
post: jest.fn(), | |
put: jest.fn(), | |
delete: jest.fn(), | |
postMkt: jest.fn(), | |
customRequest: jest.fn(), |
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
<template> | |
<Painel titulo="Resumo" roxo> | |
<select v-model="selected"> | |
<option v-for="option in produtos" | |
:key="option.preco" | |
v-bind:value="option.value"> | |
{{ option.nome }} | |
</option> | |
</select> | |
<span>Selecionado: {{ selected }}</span> |
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
/* Desenvolver o compoenent chamado oferta, que representa cada item das Ofertas Diarias | |
* | |
Utilize apenas | |
Vue.compoenent( 'nomeDoComponente', { | |
props: {}, | |
template: ``, | |
methods: {} | |
} ) | |
Implementando seu componente dentro do Vue.component nao se faz necessario importa-lo no index.js | |
pois o mesmo eh uma instancia de Vue e tera acesso a tudo o que voce colocar em Vue.??? |
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
<!DOCTYPE <!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title> 🎮 Jogo da Velha</title> | |
<!--CSS--> | |
<style> | |
/*Importação do estilo de fonte pixel*/ | |
@import url(http://fonts.googleapis.com/css?family=Geo&subset=latin); | |