'small' => 240, 'medium' => 480, 'large' => 720, 'extra' => 1080,
на картинках ожидаем по дефолту 'medium' ( пример: https://ag.nn.rusatom.dev/storage/WTF/`${medium}`.HASH.jpg )
# install and start localhost:3000
$ yarn && yarn dev
# serve with hot reload at localhost:3000
$ yarn dev
# build for production and launch server
$ yarn build
$ yarn start
# generate static project
$ yarn generate
For detailed explanation on how things work, check out Nuxt.js docs.
-
⚡️ Vite + 💚 Nuxt - Instant HMR + Nuxt Ecosystem
-
📦 Components auto importing
-
🎨 Windi CSS - next generation utility-first CSS framework
-
🔥 Use the new
<script setup>
syntax in Vue 2 -
📥 APIs auto importing - use Composition API and others directly
-
🦾 TypeScript, of course
- VueUse - collection of useful composition APIs
nuxt-vite
- Vite for Nuxt 2nuxt-windicss
- Windi CSS integration- unplugin-vue2-script-setup -
<script setup>
support for Vue 2 - unplugin-auto-import - Use Vue Composition API without importing
vite-plugin-components
- components auto importvite-plugin-icons
- icons as Vue components
- Dev Server
- HMR
- Build
- Generate (await
nuxt-vite
)
We recommend using VS Code with Volar to get the best experience (You might want to disable Vetur if you have it).