page-error-pkg

1.5.0 • Public • Published

error-page-package

INSTALLATION

  • Install as you would normally install a npm package
  • Run this command in your project npm i page-error-pkg
  • To verify the package check usage folder read me file

SCREENSHOTS

Desktop View
Screen Shots

Mobile View
Screen Shots

USAGE

If no property passed it will use the defailt values.

import { epPlugin }  from 'page-error-pkg';
epPlugin.register();

properties that are available

epPlugin.register({
    ele:'' element ID where you want to please error page content, if empty it will placed  as the first element of the body
    heading: '', error message heading (default value: Opps! OUR SERVER IS ON BREAK)
    description:'', description of error message (default value: Something went wrong, We are looking to see what happened.)
    linkText:'', button text (default value: Go Back)
    linkURL: '' button URL (default value: /home)
   });

/page-error-pkg/

    Package Sidebar

    Install

    npm i page-error-pkg

    Weekly Downloads

    0

    Version

    1.5.0

    License

    ISC

    Unpacked Size

    7.61 kB

    Total Files

    5

    Last publish

    Collaborators

    • sharma-varun