Skip to content

nuxt3 ts sass unocss i18n stylelint16 eslint9 prettier3 commitlint19 husky9 volta

License

Notifications You must be signed in to change notification settings

yimicat/nuxt3-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nuxt3 Template

Look at the Nuxt3 documentation to more.

🌟Skills

Nuxt3 TypeScript unocss @nuxtjs/i18n sass

stylelint eslint commitlint prettier husky volta

💡note

eslint v9

采用新的配置风格 https://eslint.org/docs/latest/use/configure/configuration-files

ESLint v9 support:eslint/eslint#18391

升级:https://eslint.org/docs/latest/use/migrate-to-9.0.0 集成:https://eslint.org/docs/latest/use/integrations

Stylelint v16 升级

https://stylelint.io/migration-guide/to-16 https://stylelint.nodejs.cn/migration-guide/to-15/

Stylelint v16 & Prettier

从 Stylelint v15 开始,Stylelint 弃用了所有冲突的风格规则 ,并在 Stylelint v16 中删除了这些规则 https://github.com/prettier/stylelint-prettier

Prettier & Stylelint & Eslint

https://prettier.io/docs/en/integrating-with-linters.html#docsNav https://github.com/prettier/stylelint-prettier https://github.com/prettier/stylelint-prettier

husky

https://github.com/typicode/husky/releases/tag/v9.0.1

lint-staged https://www.npmjs.com/package/lint-staged#examples

在版本 10 之前,任务必须手动包含作为最后一步。此行为已集成到 lint-staged 本身中,以防止多个任务编辑相同文件的竞争条件。如果在任务配置中检测到 lint-staged,它将在控制台中显示警告。升级后请从您的配置中删除。git addgit addgit add

⚙️Install

pnpm install

🛠️Development Server

Start the development server on http://localhost:3000:

pnpm run dev

📌Production

Build the application for production:

pnpm run build

Locally preview production build:

pnpm run preview

🚀Deployment

Check out the deployment documentation for more information.

About

nuxt3 ts sass unocss i18n stylelint16 eslint9 prettier3 commitlint19 husky9 volta

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published