https://github.com/anatoly-semenov/nuxt3-template
Template for create nuxt3 app
https://github.com/anatoly-semenov/nuxt3-template
composition-api dayjs lodash nuxt3 pinia stylus template vue3
Last synced: 2 months ago
JSON representation
Template for create nuxt3 app
- Host: GitHub
- URL: https://github.com/anatoly-semenov/nuxt3-template
- Owner: Anatoly-Semenov
- Created: 2024-08-18T12:25:02.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-08-18T12:40:02.000Z (9 months ago)
- Last Synced: 2025-01-13T21:37:11.996Z (4 months ago)
- Topics: composition-api, dayjs, lodash, nuxt3, pinia, stylus, template, vue3
- Language: Stylus
- Homepage: https://nuxt.com
- Size: 1.24 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nuxt3-template
# Development with technology `Nuxt 3`
This is boilerplate, based [vue3](https://vuejs.org/) with framework [Nuxt 3](https://nuxt.com/docs/getting-started/introduction).
- CSS preprocessor - [Stylus](https://stylus-lang.com)
- Storage - [Pinia](https://pinia.vuejs.org)
- Collection of Vue Composition Utilities - [VueUse](https://vueuse.org)
- JavaScript utility library - [Lodash](https://lodash.com/)
- Dates - [DayJS](https://day.js.org)## Setup
Make sure to install the dependencies:
```bash
# yarn
yarn install
```## Development Server
Start the development server on http://localhost:3000
```bash
yarn dev
```
---## Production
Build the application for production:
```bash
yarn build
```Start the application for production:
```bash
yarn start
```---
Locally preview production build:
```bash
yarn preview
```Generate static files:
```bash
yarn generate
```---
## Environment
> Environment variables are stored in the directory ./config/.env.{env}
> To define the deployment environment, you need to initialize the variable `APP_ENV` = `dev` | `staging` | `prod` in .env file on root directory
```dotenv
APP_ENV=dev
```