Look at the Nuxt 3 documentation to learn more.
Make sure to install the dependencies:
# pnpm
pnpm install --shamefully-hoist
Start the development server on http://localhost:3000
npm run dev
Build the application for production:
npm run build
nuxt3 + pinia + tailwind + vant (postcss-px-to-viewport) + element-ui + ts
stylelint + eslint (@antfu, @nuxtjs/eslint-config-typescript)
useAsyncData
系列获取数据方法,模板绑定事件中无法触发。比如:
<ElButton @click="clickHandler">获取异步数据</ElButton>