https://github.com/yisibell/nuxt3-app-starter
A Nuxt (3) app starter!
https://github.com/yisibell/nuxt3-app-starter
element-plus h3 nitro nuxt3 ofetch pinia pm2 ssr typescript vite vue3
Last synced: 8 months ago
JSON representation
A Nuxt (3) app starter!
- Host: GitHub
- URL: https://github.com/yisibell/nuxt3-app-starter
- Owner: yisibell
- License: mit
- Created: 2023-02-07T07:31:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-26T01:30:46.000Z (10 months ago)
- Last Synced: 2024-12-26T02:28:04.020Z (10 months ago)
- Topics: element-plus, h3, nitro, nuxt3, ofetch, pinia, pm2, ssr, typescript, vite, vue3
- Language: Vue
- Homepage:
- Size: 1.42 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# nuxt3-app-starter
A ssr app starter built by Nuxt (3) + vue (3) + pinia + ofetch + element-plus + typescript + sass !!!
# Features
- Support **http(s) proxy** in **development** and **server**.
- Friendly **SVG** icon usage.
- Support **PM2**.
- Using **pinia** for state management.
- Using **ofetch** for http request.
- Using **element-plus** ui component libary.
- Support **Typescript**.
- Styling via **sass**.
- Easy to use environment configuration.## Setup
Make sure to install the dependencies:
```bash
# pnpm
pnpm install
```## Development Server
Start the development server on http://localhost:3389
```bash
$ pnpm dev
```## Production
Build the application for production:
```bash
# build for production
$ pnpm build# build for ft
$ pnpm build:ft
```Locally preview production build:
```bash
$ pnpm preview
```Start the node server:
``` bash
# start for production
$ pnpm start
# start for production with pm2
$ pnpm pm2:start
# start for production with pm2 in docker
$ pnpm pm2:docker:start# start for ft
$ pnpm start:ft
# start for ft with pm2
$ pnpm pm2:start-ft
# start for ft with pm2 in docker
$ pnpm pm2:docker:start-ft
```