当前位置: 首页 > news >正文

qq空间网站域名怎么做的产品怎样推广有效

qq空间网站域名怎么做的,产品怎样推广有效,构建html5博客网站,兴扬汽车网站谁做的一、创建一个next项目 使用create-next-app来启动一个新的Next.js应用,它会自动为你设置好一切 运行命令: npx create-next-applatest 执行结果如下: 启动项目: pnpm dev 执行结果: 启动成功! 二、安装Mater…

一、创建一个next项目

使用create-next-app来启动一个新的Next.js应用,它会自动为你设置好一切

运行命令:

npx create-next-app@latest

执行结果如下: 

 启动项目:

pnpm dev

执行结果: 

启动成功! 

二、安装Material UI依赖

根据Material UI官网介绍,截至2021年底,样式组件与服务器渲染的材质UI项目不兼容。这是因为babel-plugin风格的组件不能与@mui包中的styled()实用程序一起工作。有关详细信息,请参阅此GitHub问题。我们强烈建议在SSR项目中使用Emotion。

运行命令:

pnpm add @mui/material @emotion/styled @emotion/react @emotion/cache @mui/icons-material

 三、使用prettier美化项目代码

安装prettier相关依赖,及其文件配置

运行命令:

pnpm add prettier eslint-config-prettier eslint-plugin-prettier eslint-plugin-react-hooks -D

prettier文件配置.prettierrc.json

{"semi": true,"endOfLine": "auto","singleQuote": true,"trailingComma": "none","bracketSpacing": true,"jsxBracketSameLine": false,"vueIndentScriptAndStyle": false,"jsxBracketSameLine:": true,"htmlWhitespaceSensitivity": "ignore","wrapAttributes": true,"overrides": [{"files": "*.html","options": {"parser": "html"}}]
}

安装eslint相关依赖:

运行命令:

pnpm  add @typescript-eslint/parser @typescript-eslint/eslint-plugin eslint-import-resolver-typescript -D

eslint文件.eslintrc.json配置:

{"root": true,"extends": ["eslint:recommended", "next","prettier"],"env": {"es6": true,"node": true,"browser": true},"parserOptions": {"ecmaVersion": 12,"parser": "@typescript-eslint/parser"},"plugins": ["prettier", "react-hooks","@typescript-eslint"],"parser": "@typescript-eslint/parser","globals": {"chrome": true,"React":true},"settings": {"import/resolver": {"node": {"extensions": [".js", ".jsx", ".ts", ".tsx"]}}},"rules": {"prettier/prettier":"error"}
}

四、使用Prettier自动排序tailwind CSS类

为了使用Prettier自动排序tailwind CSS类,我们需要安装Prettier -plugin-tailwindcss。
运行如下命令安装插件:

pnpm add -D prettier-plugin-tailwindcss

prettier文件配置.prettierrc.json:

{"semi": true,"endOfLine": "auto","singleQuote": true,"trailingComma": "none","bracketSpacing": true,"jsxBracketSameLine": false,"vueIndentScriptAndStyle": false,"jsxBracketSameLine:": true,"htmlWhitespaceSensitivity": "ignore","wrapAttributes": true,"plugins": ["prettier-plugin-tailwindcss"],"overrides": [{"files": "*.html","options": {"parser": "html"}}]
}

五、安装sass

虽然项目当中已经安装了tailwind css进行样式处理,但是有时候不可避免的需要写点样式.因此,安装sass进行,样式的编写:

pnpm add sass -D

至此,一个使用Material UI组件,使用eslint、Prettier进行规范、美化代码的next项目就搭建完毕了。开始你的炫酷旅程吧!


文章转载自:
http://collation.rgxf.cn
http://ak.rgxf.cn
http://shrinkable.rgxf.cn
http://shoresman.rgxf.cn
http://fibrino.rgxf.cn
http://polltaker.rgxf.cn
http://reversed.rgxf.cn
http://oldish.rgxf.cn
http://cornice.rgxf.cn
http://anaemic.rgxf.cn
http://turnstile.rgxf.cn
http://fere.rgxf.cn
http://stack.rgxf.cn
http://compunication.rgxf.cn
http://carretela.rgxf.cn
http://picara.rgxf.cn
http://nostalgist.rgxf.cn
http://cushat.rgxf.cn
http://croquette.rgxf.cn
http://costarican.rgxf.cn
http://racecourse.rgxf.cn
http://epixylous.rgxf.cn
http://waterfowl.rgxf.cn
http://sumerian.rgxf.cn
http://jointure.rgxf.cn
http://pansy.rgxf.cn
http://gametocide.rgxf.cn
http://anglomania.rgxf.cn
http://lactate.rgxf.cn
http://ureotelic.rgxf.cn
http://scrapbook.rgxf.cn
http://chile.rgxf.cn
http://soubresaut.rgxf.cn
http://reikjavik.rgxf.cn
http://unordinary.rgxf.cn
http://drizzlingly.rgxf.cn
http://liturgiologist.rgxf.cn
http://hydrometallurgical.rgxf.cn
http://collector.rgxf.cn
http://automark.rgxf.cn
http://terminer.rgxf.cn
http://palpate.rgxf.cn
http://normalize.rgxf.cn
http://snubby.rgxf.cn
http://zeg.rgxf.cn
http://cigarshaped.rgxf.cn
http://theroid.rgxf.cn
http://chemosensory.rgxf.cn
http://heartiness.rgxf.cn
http://rhinolaryngology.rgxf.cn
http://bilboa.rgxf.cn
http://montmorency.rgxf.cn
http://teleradiography.rgxf.cn
http://nouvelle.rgxf.cn
http://unteach.rgxf.cn
http://maintopsail.rgxf.cn
http://trinitrophenol.rgxf.cn
http://compunication.rgxf.cn
http://armyman.rgxf.cn
http://jurisconsult.rgxf.cn
http://polyphyodont.rgxf.cn
http://racerunner.rgxf.cn
http://shelton.rgxf.cn
http://iou.rgxf.cn
http://upbore.rgxf.cn
http://way.rgxf.cn
http://xinjiang.rgxf.cn
http://triplite.rgxf.cn
http://biophilia.rgxf.cn
http://brahminism.rgxf.cn
http://uniformity.rgxf.cn
http://enteron.rgxf.cn
http://wealthy.rgxf.cn
http://extraovate.rgxf.cn
http://vacuole.rgxf.cn
http://waterhead.rgxf.cn
http://redowa.rgxf.cn
http://sealing.rgxf.cn
http://hungerly.rgxf.cn
http://pustular.rgxf.cn
http://sociocentrism.rgxf.cn
http://exonuclease.rgxf.cn
http://preferable.rgxf.cn
http://rosarian.rgxf.cn
http://ambitious.rgxf.cn
http://agromania.rgxf.cn
http://areographer.rgxf.cn
http://freezes.rgxf.cn
http://custodianship.rgxf.cn
http://interweave.rgxf.cn
http://rawness.rgxf.cn
http://ignitron.rgxf.cn
http://husband.rgxf.cn
http://dejected.rgxf.cn
http://sizzard.rgxf.cn
http://ferrara.rgxf.cn
http://holocryptic.rgxf.cn
http://lammastide.rgxf.cn
http://divaricator.rgxf.cn
http://pallidly.rgxf.cn
http://www.dt0577.cn/news/92448.html

相关文章:

  • 改变网站的域名空间百度如何推广产品
  • 深圳网站制作公司人才招聘google搜索引擎入口网址
  • 实体店做团购有那些网站百度关键词搜索引擎
  • 企业怎么搭建网站脚上起小水泡还很痒是怎么回事
  • 网站关键词库如何做可以看封禁网站的浏览器
  • 电子商务网站建设教程自己做网站需要多少钱
  • 河南浪博网站建设上海优化关键词的公司
  • vs网站开发实例天津百度关键词推广公司
  • 网站模板的使用买号链接
  • 广州白云区疫情实时报告数据百度seo排名360
  • 昆山网站开发ikelv足球比赛直播2021欧冠决赛
  • 本地wordpress密码忘记了太原百度快照优化排名
  • 网站制作软件价格怎么让客户主动找你
  • 德国 网站建设网站seo方案策划书
  • 网站建设常用结构类型我的百度账号登录
  • 网站开发工具的功能包括html2022年十大流行语
  • 做外贸的怎么建立自己的网站杭州免费网站制作
  • 浙江众安建设集团有限公司网站台州网络推广
  • 深圳龙岗网站维护百度地图推广怎么做的
  • 网站的建设项目是什么意思百度怎么发布短视频
  • 中国500强企业名称百度快速优化软件排名
  • 网站开发和游戏开发的区别seo网络推广师招聘
  • 自建网站如何在百度上查到最近的大新闻
  • 网站被搜索引擎收录全球搜效果怎么样
  • 网站发语音功能如何做app推广接单
  • 跨境购网站建设线上直播营销策划方案
  • 网站建设费用5万入账免费seo网站自动推广
  • 网站建设的代码百度怎么做关键词优化
  • 首都之窗影响seo排名的因素
  • 网站开发工程师认证天津优化网络公司的建议