Reference code for the Build and deploy a static online shop with Nuxt3 using Pinia Store and Stripe Checkout to Firebase tutorial.
Feel free to use this code as you wish 😃
If you'd like to use this code as a starting point for your static Nuxt3 online store, simpy clone it:
git clone [email protected]:keithmifsud/nuxt3-static-shop-demo.git
and install the dependencies:
npm install
Update the ./nuxt.config.ts
file's runtime config:
export default defineNuxtConfig({
runtimeConfig: {
public: {
appUrl: 'http://localhost:3000',
stripePk: 'pk_test_xxxxxxxxxxxxxxxxxxxxxx',
},
}
})
and run the local instance with:
npm run dev
You can easily generate the static site with:
npm run generarte
This software is distributed under the MIT license.
© 2018 - 2022 - Keith Mifsud https://keith-mifsud.me and approved contributors.