Skip to content

Commit 1d38b08

Browse files
authored
fix: init nuxt app with template (#6770)
1 parent 7a8566e commit 1d38b08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build-system-tests/scripts/mega-app-create-app.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ if [[ "$FRAMEWORK" == 'vue' ]]; then
9191
echo "vue create --preset ../templates/components/vue/preset-${FRAMEWORK_VERSION}.json $MEGA_APP_NAME"
9292
echo 'Y' | vue create --preset ../templates/components/vue/preset-${FRAMEWORK_VERSION}.json $MEGA_APP_NAME
9393
elif [ "$BUILD_TOOL" == 'nuxt' ]; then
94-
echo "npx nuxt init $MEGA_APP_NAME"
95-
npx nuxt init $MEGA_APP_NAME
94+
echo "npx nuxi@latest init $MEGA_APP_NAME -t v4"
95+
npx nuxi@latest init $MEGA_APP_NAME -t v4
9696
fi
9797
fi
9898

0 commit comments

Comments
 (0)