@@ -17,7 +17,8 @@ Nuxt.js is a popular open-source framework for building Vue.js applications. Wit
|
||||
|
||||
The first step is to install the necessary dependencies for Nuxt Content v2. To do this, run the following command:
|
||||
|
||||
```JS
|
||||
|
||||
```js
|
||||
npm install @nuxt/content@next
|
||||
|
||||
```
|
||||
@@ -26,7 +27,7 @@ npm install @nuxt/content@next
|
||||
|
||||
Once the dependencies are installed, you need to configure Nuxt Content v2 in your Nuxt 3 project. To do this, create a new file named nuxt.config.js in the root directory of your project and add the following code:
|
||||
|
||||
```JS
|
||||
```js
|
||||
export default {
|
||||
// Enable Nuxt Content module
|
||||
modules: [
|
||||
|
||||
Reference in New Issue
Block a user