This is a Nuxt template project setup with below functions / library:
- Nuxt - Composition API
- Nuxt - Vuex Store
- Vuex Persist
- Typescript
- Tailwindcss
- MongoDB
- Apollo Graphql Server
- Apollo Graphql Client
- Proxy
- Vercel (Deployment)
# create database
$ docker-compose up -d
# install dependencies
$ yarn
# generate GraphQL
$ yarn graphql
# create .env (If env file does not exist)
$ cp .env.example .env- install
Vercel CLI - run
vercelin the project (if need env variable, set atvercel.json) - connect to your vercel workspace
# to fix mongoDB not master
$ sh fix-mongo-not-master.sh# to build a global style from tailwindCSS as plugin
$ npx tailwindcss build ./assets/css/main.css -o tailwindcss.generated.css