Giter Club home page Giter Club logo

my-first-nuxt3's Introduction

运行说明

npm run build: 构建项目, 会生成 .output 打包产物, 打包路径中不能有中文(否则可能失败)

npm run dev: 启动项目, 会生成 .nuxt 文件,是一些运行中文件

npm run generate: 可以直接生成静态文件,不开启服务器(适用于博客类项目)

npm run preview: 预览项目

npm run postinstall: 如果没有代码提示,可运行,会自动下载类型

问题

自动注册的函数有红色报错

尝试 npm run postinstall 或 选中 .vue 文件后,在左下角切换 ts 版本,或者使用 takeover 模式

日志

feat: 实现 tailwindcss 类名自动排序

1. pnpm install -D prettier prettier-plugin-tailwindcss
2. 配置 prettier.config.js 的 plugins
3. 配置 .prettierrc 的 plugins  (2/3选一个即可)
4. 配置 tailwind.config.js 的 plugins (配不配貌似都行)

my-first-nuxt3's People

Contributors

tgx1587900660 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.