Skip to content

pattypetrikova/supabase_form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nuxt Template from Dentsu

Look at the nuxt 3 documentation to learn more.

How to use as template

First create your new repository for a project you're creating.

Then clone this repository and push it to your new repository:

git clone [email protected]:dentsu-cz/nuxt-template.git

mv nuxt-template name-of-your-repository ## or rename instead of mv on Windows

cd name-of-your-repository

git remote set-url origin [email protected]:isobarczechrepublic/name-of-your-repository.git

git remote add template [email protected]:dentsu-cz/nuxt-template.git

Now setup branches and tags (these can be launched all at once (just copy&paste&enter all lines):

git branch master
git branch test
git branch devel
git tag init
git push -u origin master test devel init

Don't forget to create test and devel branch and start your work from new branch based on devel.

TODO: create script that will do these initial steps automatically

Setup

First copy app/.env-local as app/.env

Then make sure to install the dependencies:

cd app # for all following commands always be in app folder
pnpm install

Development Server

Start the development server on http://localhost:3000

pnpm dev

Production

If using SSR, build the application for production:

pnpm build:production

If not using SSR but SSG, use:

pnpm generate:production

Both generate and build commands can also be used with :test instead of :production for testing environment. Test environment should have password protection defined in .env-test file.

Checkout the deployment documentation for more information.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published