router-module
Nuxt 2 module to use router.js instead of pages/ directory.
File Explorer
Download Latest Version (.zip)- ci.yml
- module.ts
- plugin.js
- my-page.vue
- index.js
- nuxt.config.js
- my-page.vue
- foo.vue
- nuxt.config.js
- router.js
- nuxt.config.js
- foo.vue
- nuxt.config.js
- router.js
- my-page.vue
- nuxt.config.js
- router.js
- custom-file-path.test.ts
- disable-parse-pages.test.ts
- fail.test.ts
- keep-default-router.test.ts
- ok.test.ts
- .editorconfig
- .eslintignore
- .eslintrc
- .gitignore
- CHANGELOG.md
- jest.config.js
- LICENSE
- package.json
- README.md
- renovate.json
- tsconfig.json
- yarn.lock
# Installation Guide
1. Get the code
git clone https://github.com/nuxt-community/router-module
Downloads the entire project code from GitHub to your computer.
cd router-module
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
yarn add --dev @nuxtjs/router # or npm install --save-dev @nuxtjs/router
Downloads and installs the libraries listed in package.json.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
