You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am need to build static SSG with nuxt and the build output must be on exactly dist/production but when i use the yarn nx static from @nx-plus/nuxt:static it always generate the "/dist" folder.
I had even add the below code on my nuxt.config.js but it was ignored
I hade also set "buildDir": "dist/production" on project.json but the nx-plus keeps generating a dist folder inside the dist/production folder, image:
I've tried to use nx:run-commands to see if my config on nuxt.config.js was wrong, but with nuxt generate" the dist folder is not generate inside the dist/production, see:
Expected Behavior
@nx-plus/nuxt:static respect the build defined at nuxt.config.js under generate.dir prop, like the nuxt generate does:
yarn nx static my-app (you will see generating it with /dist inside the `dist/production
yarn nx nuxtgenerate my-app (you will see generating it the build output directly on `dist/production
Environment
Plugin name and version: "@nx-plus/nuxt": "14.1.0",
Node : 16.16.0
OS : darwin arm64
yarn : 1.22.19
nx : 14.5.6
@nrwl/angular : Not Found
@nrwl/cypress : 14.5.6
@nrwl/detox : Not Found
@nrwl/devkit : 14.5.6
@nrwl/eslint-plugin-nx : 14.5.6
@nrwl/express : Not Found
@nrwl/jest : 14.5.6
@nrwl/js : 14.5.6
@nrwl/linter : 14.5.6
@nrwl/nest : Not Found
@nrwl/next : Not Found
@nrwl/node : Not Found
@nrwl/nx-cloud : Not Found
@nrwl/nx-plugin : Not Found
@nrwl/react : Not Found
@nrwl/react-native : Not Found
@nrwl/schematics : Not Found
@nrwl/storybook : Not Found
@nrwl/web : Not Found
@nrwl/workspace : 14.5.6
typescript : 4.7.4
---------------------------------------
Local workspace plugins:
---------------------------------------
Community plugins:
@nx-plus/nuxt: 14.1.0
@nx-plus/vue: 14.1.0
The text was updated successfully, but these errors were encountered:
hey @ZachJW34 i've found where it need to be change, what you say? can i open a pr?
or may we need to discuss this?
Basically the static generator keeps using the browser build instead of the generator
Current Behavior
I am need to build static SSG with nuxt and the build output must be on exactly
dist/production
but when i use theyarn nx static
from @nx-plus/nuxt:static it always generate the "/dist" folder.I had even add the below code on my
nuxt.config.js
but it was ignoredI hade also set
"buildDir": "dist/production"
on project.json but the nx-plus keeps generating adist
folder inside thedist/production
folder, image:I've tried to use
nx:run-commands
to see if my config onnuxt.config.js
was wrong, but withnuxt generate"
thedist
folder is not generate inside thedist/production
, see:Expected Behavior
@nx-plus/nuxt:static
respect the build defined atnuxt.config.js
undergenerate.dir
prop, like the nuxt generate does:Steps to Reproduce
Fork: https://github.com/schirrel/nx-nuxt-vue
Environment
Plugin name and version: "@nx-plus/nuxt": "14.1.0",
The text was updated successfully, but these errors were encountered: