nuxt-ui-pro / dashboard

A dashboard template made with Vue and Nuxt UI Pro.
https://dashboard-template.nuxt.dev
378 stars 81 forks source link

nuxt-ui-pro-dashboard doesn't start because of issue in app/pages/users.vue #46

Closed paul908 closed 1 month ago

paul908 commented 1 month ago

The dashboard would not start issue in terminal:

ERROR Pre-transform error: [vue/compiler-sfc] Unexpected token, expected "from" (2:12) 17:10:53

/home/paul/WebstormProjects/nuxt-ui-pro-dashboard/app/pages/users.vue 1 | <script setup lang="ts"> 2 | import type { User } from '~/types' | ^ 3 |
4 | const defaultColumns = [{ (x2)

env: Node.js v20.11.1. Nuxt 3.12.4 with Nitro 2.9.7
commit used: https://github.com/nuxt-ui-pro/dashboard/commit/e34a427da95d1094b078bc1df0fdea90c3aa5ff5

I see that the file has been refactored on: 20/08/2024.

benjamincanac commented 1 month ago

Thanks for the report! 😊

paul908 commented 1 month ago

Thank you for the fast reaction. What was the issue?

benjamincanac commented 1 month ago

An invalid char was committed in https://github.com/nuxt-ui-pro/dashboard/pull/45/files.

paul908 commented 1 month ago

An invisible character?

benjamincanac commented 1 month ago

https://github.com/nuxt-ui-pro/dashboard/commit/c955d92266b7963d414b8322f950608547aef229