https://github.com/michaelcurrin/nuxt-default-quickstart
Starter template for a Nuxt project using the default setup
https://github.com/michaelcurrin/nuxt-default-quickstart
javascript nuxt quickstart start vue
Last synced: 2 months ago
JSON representation
Starter template for a Nuxt project using the default setup
- Host: GitHub
- URL: https://github.com/michaelcurrin/nuxt-default-quickstart
- Owner: MichaelCurrin
- License: mit
- Created: 2021-03-25T08:59:14.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-20T09:22:50.000Z (about 5 years ago)
- Last Synced: 2025-12-08T13:43:48.819Z (7 months ago)
- Topics: javascript, nuxt, quickstart, start, vue
- Language: Vue
- Homepage:
- Size: 80.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nuxt Default Quickstart
> Starter template for a Nuxt project using the default setup
[](https://github.com/MichaelCurrin/nuxt-default-quickstart/releases/)
[](#license)
[](https://nodejs.org)
[](https://yarnpkg.com/)
[](https://www.npmjs.com/package/vue)
[](https://www.npmjs.com/package/nuxt)
## Preview
[](https://github.com/MichaelCurrin/nuxt-default-quickstart/generate)
## About
This Nuxt project uses Yarn, JavaScript (no TS), Vue and Vue templates.
What is Nuxt?
> The Intuitive Vue Framework
>
> Build your next Vue.js application with confidence using NuxtJS. An open source framework making web development simple and powerful.
See the [Nuxt homepage](https://nuxtjs.org/) for more info.
This project uses server-side rendering with Node, but also comes with the option to generate a static site. Follow [Documentation](#documentation) instructions below to setup and run the app locally.
Content is in the [pages](/pages/) directory as `.vue` files. The [Examples](https://nuxtjs.org/examples) section of the Nuxt docs covers a Hello World example which has multiple pages and can be run in the online sandbox.
Related project:
- [](https://github.com/MichaelCurrin/nuxt-static-quickstart)
See [Nuxt](https://michaelcurrin.github.io/dev-resources/resources/javascript/packages/nuxt/) under Dev Resources.
## Create a fresh project
See the [Getting Started / Installation](https://nuxtjs.org/docs/2.x/get-started/installation) Nuxt docs for more info.
This project was generated with this command:
```sh
$ yarn create nuxt-app nuxt-default-quickstart
```
All the default options were used, as follows:
```
✨ Generating Nuxt.js project in nuxt-default-quickstart
? Project name: nuxt-default-quickstart
? Programming language: JavaScript
? Package manager: Yarn
? UI framework: None
? Nuxt.js modules: (Press to select, to toggle all, to invert selection)
? Linting tools: (Press to select, to toggle all, to invert selection)
? Testing framework: None
? Rendering mode: Universal (SSR / SSG)
? Deployment target: Server (Node.js hosting)
? Development tools: (Press to select, to toggle all, to invert selection)
? What is your GitHub username? michaelcurrin
? Version control system: Git
```
Username became lowercase even though entered as `MichaelCurrin`. The app suggested `Michael Currin`, perhaps from git name rather. I don't know how this gets used.
## Documentation
### Installation
Install dependencies
```sh
$ yarn install
```
### Usage
Serve with hot-reload at `localhost:3000`.
```sh
$ yarn dev
```
### Deploy
#### Server-side rendering
Build for production and then launch the Node server.
```sh
$ yarn build
$ yarn start
```
#### Static
Generate static build output in `dist` directory. This can be deployed as a GitHub Pages site.
```sh
$ yarn generate
```
Recommended:
- Add a `deploy` command to `package.json` as per docs.
- Or use GitHub Actions to build the site and commit the site to `gh-pages` branch.
See info on [GitHub Pages deployment](https://nuxtjs.org/docs/2.x/deployment/github-pages/) in the Nuxt docs.
For detailed explanation on how things work, check out [Nuxt.js docs](https://nuxtjs.org).
## License
Released under [MIT](/LICENSE) by [@MichaelCurrin](https://github.com/MichaelCurrin).