[_self
] Open on own page
<a href="https://youtube.com" target="_self">_self</a>
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', |
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', |
import React from "react"; | |
// Máximo de botões que vai ser mostrado na page | |
const MAX_ITEMS = 9; | |
// Quantos botões que você quer a direita e esquerda | |
const MAX_LEFT = (MAX_ITEMS - 1) / 2; | |
/** | |
* limit: quantos itens por page |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Teste</title> | |
<style> | |
body { | |
justify-content: center; |
import { createGlobalStyle } from 'styled-components'; | |
export default createGlobalStyle` | |
* { | |
margin: 0; | |
padding: 0; | |
box-sizing: border-box; | |
} | |
html, body, #root { | |
height: 100%; |
npm i
dentro da pasta do projeto para ter certeza que todas as libs estão instaladas e atualizadas../android/app/
e dê o seguinte comando: keytool -genkey -v -keystore my-release-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 219000
, esse comando vai te fazer algumas perguntas e gerar uma keystore dentro do seu projeto onde ela vai ter 25 anos de duração, é muito importante que caso você esteja fazendo um update essa chave não seja criada, e sim que já exista uma e você use a mesma, caso contrário o Google não permitirá nenhum update na aplicação, e caso seja a primeira vez criando, guade bem essa chave, pois ela mesmo subindo para o repositório ela não será upada pois está sendo ignorada dentro do arquivo .gitignore, por questões de segurança.const tagA = document.querySelectorAll("a"); | |
$(window).on("load", function () { | |
for (i = 0; i <= tagA.length; i++) { | |
if (tagA[i].href === document.URL) { | |
tagA[i].href = "javascript:void(0)"; | |
} else { | |
return; | |
} | |
} | |
}); |
Antes de tudo crie sua conta no site do npm
Link: site do npm
É bom que o nome da pasta comece com react-native