Skip to content

Error deploying to next js applications #11

Description

@vandsonfalcao

create next-app --typescript

pkg.json

{
  "name": "testvlibras",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "next lint"
  },
  "dependencies": {
    "@djpfs/react-vlibras": "^2.0.2",
    "next": "12.2.4",
    "react": "18.2.0",
    "react-dom": "18.2.0"
  },
  "devDependencies": {
    "@types/node": "18.6.5",
    "@types/react": "18.0.17",
    "@types/react-dom": "18.0.6",
    "eslint": "8.21.0",
    "eslint-config-next": "12.2.4",
    "typescript": "4.7.4"
  }
}

Screenshot from 2022-08-08 17-48-18
Screenshot from 2022-08-08 17-50-30

_app.tsx

import "../styles/globals.css";
import type { AppProps } from "next/app";
import VLibras from "@djpfs/react-vlibras";

function MyApp({ Component, pageProps }: AppProps) {
	return (
		<>
			<Component {...pageProps} />
			<VLibras forceOnload={true} />
		</>
	);
}

export default MyApp;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions