https://github.com/zackha/nuxtcart
One Page eCommerce Nuxt3 - Woocommerce Template
https://github.com/zackha/nuxtcart
Last synced: 6 months ago
JSON representation
One Page eCommerce Nuxt3 - Woocommerce Template
- Host: GitHub
- URL: https://github.com/zackha/nuxtcart
- Owner: zackha
- Created: 2024-08-21T05:56:15.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-24T15:51:12.000Z (almost 2 years ago)
- Last Synced: 2025-01-21T17:49:09.025Z (over 1 year ago)
- Language: Vue
- Homepage: https://cart.nuxt.dev
- Size: 176 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# woographql-vue-apollo-examples
### Installation
- [woocommerce](https://wordpress.org/plugins/woocommerce) Ecommerce for WordPress.
- [wp-graphql](https://wordpress.org/plugins/wp-graphql) Exposes GraphQL for WordPress.
- [wp-graphql-woocommerce](https://github.com/wp-graphql/wp-graphql-woocommerce) Adds WooCommerce functionality to a WPGraphQL schema. Currently only confirmed to be working with version 0.62 of this plugin.
- [wp-graphql-cors](https://github.com/funkhaus/wp-graphql-cors) Ensures that CORS works correctly. Remember to add the domain to the store under `Extend "Access-Control-Allow-Origin” header`.
### Local SSL Setup
- Install [mkcert](https://github.com/FiloSottile/mkcert) on your machine.
- Run `mkcert localhost` to generate a certificate for localhost. You should now have a `localhost.pem` and `localhost-key.pem` file in your current directory. See the image below for an example.
- Then run `mkcert -install` to install the certificate authority.
- Finally, run `pnpm dev` to start the dev server with SSL.