mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Import nuxt at config file
This commit is contained in:
parent
085dfff323
commit
a5c297d2d6
2 changed files with 13 additions and 5 deletions
10
.eleventy.js
10
.eleventy.js
|
|
@ -1,9 +1,17 @@
|
|||
// const eleventyVue = require("@11ty/eleventy-plugin-vue");
|
||||
|
||||
import nuxtConfig from './nuxt.config'
|
||||
|
||||
module.exports = function ( eleventyConfig ) {
|
||||
// eleventyConfig.addPlugin(eleventyVue)
|
||||
|
||||
// console.log('eleventyConfig', eleventyConfig)
|
||||
|
||||
eleventyConfig.addJavaScriptFunction('getNuxt', function () {
|
||||
return nuxtConfig
|
||||
})
|
||||
// eleventyConfig.addGlobalData('nuxt', () => nuxtConfig)
|
||||
|
||||
|
||||
|
||||
return {
|
||||
dir: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue