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

server 2008 iis 部署网站敏捷开发平台

server 2008 iis 部署网站,敏捷开发平台,网站开发简称,wordpress如何返回之前更新的版本需求#xff1a;直接使用element-plus未封装成组件的源码#xff0c;创建一个项目#xff0c;可以使用任意的element-plus组件#xff0c;可以深度研究组件的运行。例如研究某一个效果#xff0c;如果直接在node_modules修改elment-plus打包之后的那些js、mjs代码#xf…需求直接使用element-plus未封装成组件的源码创建一个项目可以使用任意的element-plus组件可以深度研究组件的运行。例如研究某一个效果如果直接在node_modules修改elment-plus打包之后的那些js、mjs代码不方便使用也没有效果。 第一步创建项目 采用vite创建一个test_use_elementplus_code选择vue和ts等等不在赘述之后安装element-plus后续替换掉element-plus组件直接使用源码的组件会出现无样式的问题需要使用element-plus的css样式不安装也可以直接引入源码的scss文件但是需要安装sass否则会报错在main.ts中全局引入在App.vue中做出一个效果 import { createApp } from vue; import ./style.css; import element-plus/dist/index.css; import element-plus/theme-chalk/index.css; import ElementPlus from element-plus; import App from ./App.vue;createApp(App).use(ElementPlus).mount(#app); templateElConfigProvider :localezhCnh1测试一下/h1!-- RouterView / --el-button text typeprimary clickdialogVisible trueclick to open the Dialog/el-buttonel-dialog v-modeldialogVisible titleTips width30%spanThis is a message/spantemplate #footerspan classdialog-footerel-button clickdialogVisible falseCancel/el-buttonel-button typeprimary clickdialogVisible falseConfirm/el-button/span/template/el-dialog/ElConfigProvider /templatescript setup langts import { ref } from vue; import zhCn from element-plus/es/locale/lang/zh-cn; const dialogVisible ref(false); /script不用安装element-plus引入样式的方法直接使用packages的scss文件但是需要安装sass依赖 // import element-plus/dist/index.css; // import element-plus/theme-chalk/index.css; import /packages/theme-chalk/src/index.scss 第二步下载element-plus源码复制代码 下载地址https://github.com/element-plus/element-plus 复制上面代码中的packages到自己的项目这里采用和src同级别的目录 这里做以下处理 1、处理路径问题element-plus源码中把element-plus指向了pachkages这个文件夹我们直接复制过来后代码中会把element-plus识别为node_modules中的内容要通过修改vite.comfig.ts文件把路径改成packages。 import { defineConfig } from vite; import vue from vitejs/plugin-vue; import { URL, fileURLToPath } from node:url; // https://vite.dev/config/ export default defineConfig({plugins: [vue()],resolve: {alias: {: fileURLToPath(new URL(./src, import.meta.url)),element-plus: fileURLToPath(new URL(packages, import.meta.url)),},}, });2、安装element-plus/icons-vue把node_modules的element-plus/icons-vue复制到packages中原因packages中的源码用到了这些图标没有icons-vue会报错。 3、安装下面的依赖方法可以直接复制下面的代码到package.json中的dependencies然后npm i 或者直接运行项目vite会提示有依赖没有安装直接去element-plus源码的package.json中找到复制进来后npm i ctrl/tinycolor: ^3.4.1,element-plus/icons-vue: ^2.3.1,floating-ui/dom: ^1.0.1,popperjs/core: npm:sxzz/popperjs-es^2.11.7,types/lodash: ^4.14.182,types/lodash-es: ^4.17.6,vueuse/core: ^9.1.0,async-validator: ^4.2.5,dayjs: ^1.11.3,escape-html: ^1.0.3,lodash: ^4.17.21,lodash-es: ^4.17.21,lodash-unified: ^1.0.2,memoize-one: ^6.0.0,normalize-wheel-es: ^1.2.0,vue/shared: ^3.2.37 第三步替换element-plus运行项目 原 import ElementPlus from element-plus; 新 import ElementPlus from /packages/element-plus;
http://www.hkea.cn/news/14448001/

相关文章:

  • 个人网站有哪些站重庆公司注册代理公司
  • 卖保健品可以自己做网站卖吗东莞关键词优化效果
  • 网站单页面怎么做北京专业做网站怎么样
  • 北京建设官方网站网易联合创新中心
  • 有自己域名如何做网站建设储蓄卡网站
  • 服装网站html模板c 网站开发 vs2012
  • 阿里云的网站建设好不好鞍山ui界面
  • 做网站jsp好还是网站建设使用的什么
  • 做网站要好多钱游戏推广是干什么
  • 详细介绍网站建设的整个流程浙江众安建设集团有限公司网站
  • 网站开发入那个科目wordpress雄欲
  • 加拿大购物网站排名wordpress分销系统
  • 郑州模板建站代理织梦网站模板 虎嗅网
  • 凡科企业网站如何建设网站做flash好不好
  • 网站手机优化外贸网站是什么意思
  • 程序员参与洗钱网站建设网站推广营销效果
  • 最有效的网站推广方案大丰区城乡和住房建设局网站
  • 乐清网站设计制作电子商务网站建设与管理实验
  • 开一个网站建设公司需要什么软件官方在家做兼职的网站
  • php建站平台网站建设思企互联
  • 网站的性能需求wordpress 作者权限
  • 减肥产品网站模板网站容易做吗
  • 网站建设项目兰州网站建设咨询薇
  • 网站伪静态手机编程教学
  • 杭州网站公司哪家服务好如何写好网站建设方案
  • 杭州电商网站建设公司预约网站如何自己做
  • 动态发布网站和静态发布网站长春有几个区
  • 做服装外单的网站有哪些内容一个网站做十个二级域名
  • 阿里云建站是外包的吗网络小说网站三巨头
  • 松阳县建设局网站专业外包