0.3.8 • Published 2 years ago

next-wp v0.3.8

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

next-wp

An NPM package for integrating WordPress into your NextJS front-end.

Package development with Yalc

This is for next-wp package developers only: 1. Install Yalc globally npm i yalc -g 2. cd next-wp 3. yalc publish 4. Change to parent project folder cd my-project 5. yalc add next-wp 6. yalc link next-wp 7. To push changes made to next-wp to your parent project in real-time, run the watcher script npm run watch 8. Run yalc remove next-wp inside parent project to remove locally linked package

Environment Variables

NEXTWP_DEV_URL= # NextJS dev server URL
NEXTWP_PROD_URL= # NextJS prod server URL
WORDPRESS_GRAPH_API= # Wordpress GraphQL endpoint
WORDPRESS_REST_API= # Wordpress Rest API endpoint
CUSTOM_NEXT_WP_CONFIG_PATH= # Set a custom path to configuration file
0.3.6

2 years ago

0.3.5

2 years ago

0.3.8

2 years ago

0.3.7

2 years ago

0.3.4

3 years ago

0.3.3

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.11

3 years ago

0.2.10

3 years ago

0.2.9

3 years ago

0.2.81

3 years ago

0.2.8

3 years ago

0.2.72

3 years ago

0.2.71

3 years ago

0.2.7

3 years ago

0.2.6

3 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago