Skip to content

Commit

Permalink
fix: update preview support for nuxt3 rc
Browse files Browse the repository at this point in the history
close #1225
  • Loading branch information
johnsoncodehk committed Apr 23, 2022
1 parent ecdc4a0 commit ebcc1cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/preview/bin/nuxi.js
Expand Up @@ -5,7 +5,7 @@ const fs = require('fs');
const readFileSync = fs.readFileSync;

const workspace = process.cwd();
const nuxiBinPath = require.resolve('./node_modules/nuxt3/bin/nuxt.mjs', { paths: [workspace] });
const nuxiBinPath = require.resolve('nuxi/cli', { paths: [workspace] });
const jsConfigPath = path.resolve(workspace, 'nuxt.config.js');
const tsConfigPath = path.resolve(workspace, 'nuxt.config.ts');

Expand Down

0 comments on commit ebcc1cc

Please sign in to comment.