initial commit
This commit is contained in:
71
README.md
Normal file
71
README.md
Normal file
@@ -0,0 +1,71 @@
|
||||
# Nuxt 3 Minimal Starter
|
||||
|
||||
Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.
|
||||
|
||||
## Setup
|
||||
|
||||
Make sure to install the dependencies:
|
||||
|
||||
```bash
|
||||
# yarn
|
||||
yarn install
|
||||
|
||||
# npm
|
||||
npm install
|
||||
|
||||
# pnpm
|
||||
pnpm install --shamefully-hoist
|
||||
```
|
||||
|
||||
## Development Server
|
||||
|
||||
Start the development server on http://localhost:3000
|
||||
|
||||
```bash
|
||||
npm run dev
|
||||
```
|
||||
|
||||
## Production
|
||||
|
||||
Build the application for production:
|
||||
|
||||
```bash
|
||||
npm run build
|
||||
```
|
||||
|
||||
Locally preview production build:
|
||||
|
||||
```bash
|
||||
npm run preview
|
||||
```
|
||||
|
||||
Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.
|
||||
|
||||
# GENESIS STEPS
|
||||
This is what I did to create the boilerplate, it is here for your interest and for my memory, you don't need to repeat these.
|
||||
|
||||
Follow instructions from here https://nuxt.com/docs/getting-started/installation
|
||||
|
||||
```bash
|
||||
# install node
|
||||
n lts
|
||||
npx nuxi init nuxt3-boilerplate
|
||||
code nuxt3-boilerplate/
|
||||
npm install
|
||||
npm run dev -- -o
|
||||
```
|
||||
|
||||
To setup supabase and middleware, loosely follow instructions from https://www.youtube.com/watch?v=IcaL1RfnU44
|
||||
|
||||
Supabase - new account (free tier), used github oath for supabase account
|
||||
|
||||
```
|
||||
npm install @nuxtjs/supabase
|
||||
```
|
||||
|
||||
add this to nuxt.config.ts
|
||||
```
|
||||
modules: ['@nuxtjs/supabase']
|
||||
```
|
||||
|
||||
Follow these instructions to add google oath https://supabase.com/docs/guides/auth/social-login/auth-google
|
||||
Reference in New Issue
Block a user