Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vandsonfalcao/vlibras-nextjs
VLibras para Nextjs
https://github.com/vandsonfalcao/vlibras-nextjs
acessibilidade acessibilidade-em-sites acessibility acessibility-tools javascript next nextjs react reactjs typescript
Last synced: 18 days ago
JSON representation
VLibras para Nextjs
- Host: GitHub
- URL: https://github.com/vandsonfalcao/vlibras-nextjs
- Owner: vandsonfalcao
- License: mit
- Created: 2022-08-09T18:19:32.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-31T02:11:32.000Z (2 months ago)
- Last Synced: 2024-10-12T12:04:49.437Z (26 days ago)
- Topics: acessibilidade, acessibilidade-em-sites, acessibility, acessibility-tools, javascript, next, nextjs, react, reactjs, typescript
- Language: TypeScript
- Homepage:
- Size: 8.02 MB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vlibras-nextjs
Componente React para implatação do plugin VLibras em aplicações Nextjs.
## Instalação
```sh
npm i vlibras-nextjs
ou
yarn add vlibras-nextjs
```
## Como usarAplicações React
>app.jsReprodução: vlibras-nextjs-on-react-example
repositorio github```js
import VLibras from 'vlibras-nextjs';function App() {
return (
);
}export default App;
```Aplicações Next
>index.tsxReprodução: vlibras-nextjs-example
repositorio github
repositorio next15 github```ts
import type { NextPage } from "next";
import VLibras from "vlibras-nextjs";const Home: NextPage = () => {
return (
{/* only worked in production in tests with nextjs applications maybe you can solve this! */}
{process.env.NODE_ENV === "production" && }
);
};export default Home;
```## Obrigado aos colaboradores!!!