You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
677 B

  1. ---
  2. title: Setup
  3. description: ''
  4. position: 2
  5. category: Guide
  6. ---
  7. Check the [Nuxt.js documentation](https://nuxtjs.org/guides/configuration-glossary/configuration-modules) for more information about installing and using modules in Nuxt.js.
  8. ## Installation
  9. Add `@nuxtjs/xxx` dependency to your project:
  10. <code-group>
  11. <code-block label="Yarn" active>
  12. ```bash
  13. yarn add @nuxtjs/xxx
  14. ```
  15. </code-block>
  16. <code-block label="NPM">
  17. ```bash
  18. npm install @nuxtjs/xxx
  19. ```
  20. </code-block>
  21. </code-group>
  22. Then, add `@nuxtjs/xxx` to the `modules` section of `nuxt.config.js`:
  23. ```js[nuxt.config.js]
  24. {
  25. modules: [
  26. '@nuxtjs/xxx'
  27. ],
  28. xxx: {
  29. // Options
  30. }
  31. }
  32. ```