GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - engineerapart/nextscript-example: An example usage of the nextscript component

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
pages
pages
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
package.json
package.json
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

Deploy to now

Custom NextScript example

How to use

Download manually

Download the example or clone the repo:

git clone https://github.com/engineerapart/nextscript-example
cd nextscript-example

Install it and run:

npm install
npm run dev
# or
yarn
yarn dev

Deploy it to the cloud with now (download)

now

You can then load up the example in an older browser via Browserstack or other browser testing platform.

The idea behind the example

This example shows you how to use the custom NextScript component to control the loading of your Next script resources, including waiting for polyfills to resolve.

Once deployed, you can load this example in an older browser, for example IE11, and you will see that the functions used in pages/index.js do not throw exceptions IE, demonstrating that they have been polyfilled.

Also, open up your browser's dev tools and check out the __next_preloader script node - there you will see the preloader script, with settings you have configured being applied to the generated script.

About

An example usage of the nextscript component

Resources

Readme
Activity
Custom properties

Stars

3 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.