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

求一个dw做的网站网站建设价格

求一个dw做的网站,网站建设价格,国外做装修设计网站,wordpress静态化链接一、 Vue3Vite 项目搭建 说明: Vue3 最新版本已经基于Vite构建,关于Vite简介:Vite 下一代的前端工具链,前端开发与构建工具-CSDN博客 1.安装 并 创建Vue3 应用 npm create vuelatest 创建过程可以一路 NO 目前推荐使用 Vue R…

一、 Vue3+Vite 项目搭建

说明:

Vue3 最新版本已经基于Vite构建,关于Vite简介:Vite 下一代的前端工具链,前端开发与构建工具-CSDN博客

1.安装 并 创建Vue3 应用

npm create vue@latest

创建过程可以一路 NO

目前推荐使用 Vue Router ---> Yes   ;   ESLint  ---> Yes  ;  Prettier --> Yes

2.启动调试 Vue3 应用

 npm run dev

3.编译发布 Vue3 引用

npm run build

二、Vue3 增加 element-plus UI框架

创建好Vue3 项目后,安装 Element-plus UI 框架

1.安装 element-plus

npm install element-plus --save

2.导入 element-plus,完整导入

// main.js
import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'const app = createApp(App)app.use(ElementPlus)
app.mount('#app')

3.导入 字体库+导入中文包

import './assets/site.css'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'import { createApp } from 'vue'
import App from './App.vue'
import router from './plugins/index.js'import * as ElIconModules from '@element-plus/icons-vue'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import VueUeditorWrap from 'vue-ueditor-wrap';const app = createApp(App)
app.use(router);
app.use(VueUeditorWrap);
app.use(ElementPlus, {locale: zhCn,// size:'small'
});
Object.keys(ElIconModules).forEach(function (key) {app.component(ElIconModules[key].name, ElIconModules[key])});
app.mount('#app');

三、Vite 编译配置

vite 官方配置文档:https://vitejs.dev/config/

1.修改启动端口 server.port

  server:{port:'8081'},

2.修改编译目录 build.outDir

3.修改编译文件路径 build.rollupOptions

  build:{outDir: '../QL.Back.Template8/QL.Back.Template8/wwwroot/vue/',//配置输出目录input: 'index.html',rollupOptions:{output:{// outDir:'/vue/',// 静态资源打包做处理chunkFileNames: 'static/js/[name]-[hash].js',entryFileNames: 'static/js/[name]-[hash].js',assetFileNames: 'static/[ext]/[name]-[hash].[ext]',manualChunks(id) {if (id.includes('node_modules')) {return id.toString().split('node_modules/')[1].split('/')[0].toString();}}}}},

4.修改引用文件基础路径、引用前缀 base

 base:'/vue/',

完整组合如下:

export default defineConfig({base:'/vue/',build:{outDir: '../QL.Back.Template8/QL.Back.Template8/wwwroot/vue/',//配置输出目录input: 'index.html',rollupOptions:{output:{// outDir:'/vue/',// 静态资源打包做处理chunkFileNames: 'static/js/[name]-[hash].js',entryFileNames: 'static/js/[name]-[hash].js',assetFileNames: 'static/[ext]/[name]-[hash].[ext]',manualChunks(id) {if (id.includes('node_modules')) {return id.toString().split('node_modules/')[1].split('/')[0].toString();}}}}},plugins: [vue(),],server:{port:'8081'},resolve: {alias: {'@': fileURLToPath(new URL('./src', import.meta.url))}}
})

更多:

Vite 下一代的前端工具链,前端开发与构建工具

Vue3富文本组件UEditor ,vue-ueditor-wrap@3.x

基于Vue的移动端UI框架整理


文章转载自:
http://mariner.xnLj.cn
http://emblemize.xnLj.cn
http://dyeline.xnLj.cn
http://velar.xnLj.cn
http://decompress.xnLj.cn
http://leaguer.xnLj.cn
http://soljanka.xnLj.cn
http://mollweide.xnLj.cn
http://multidentate.xnLj.cn
http://trihydroxy.xnLj.cn
http://intoneme.xnLj.cn
http://mendacious.xnLj.cn
http://salah.xnLj.cn
http://luxurious.xnLj.cn
http://certitude.xnLj.cn
http://orthodontist.xnLj.cn
http://dishonesty.xnLj.cn
http://avram.xnLj.cn
http://policlinic.xnLj.cn
http://sophonias.xnLj.cn
http://forestaysail.xnLj.cn
http://ropy.xnLj.cn
http://abnormalism.xnLj.cn
http://dilettante.xnLj.cn
http://psychical.xnLj.cn
http://flag.xnLj.cn
http://megalomania.xnLj.cn
http://logging.xnLj.cn
http://degraded.xnLj.cn
http://abrupt.xnLj.cn
http://shellheap.xnLj.cn
http://refutably.xnLj.cn
http://epiglottis.xnLj.cn
http://lepidopteron.xnLj.cn
http://mutagenic.xnLj.cn
http://nfd.xnLj.cn
http://deathplace.xnLj.cn
http://appointed.xnLj.cn
http://fakement.xnLj.cn
http://latinesque.xnLj.cn
http://lepidoptera.xnLj.cn
http://disrepute.xnLj.cn
http://glaireous.xnLj.cn
http://nonrestraint.xnLj.cn
http://iguana.xnLj.cn
http://philosophize.xnLj.cn
http://delaminate.xnLj.cn
http://autarky.xnLj.cn
http://dojam.xnLj.cn
http://vacationland.xnLj.cn
http://hispanidad.xnLj.cn
http://inoculate.xnLj.cn
http://rose.xnLj.cn
http://sulfapyrazine.xnLj.cn
http://haploidic.xnLj.cn
http://cesarean.xnLj.cn
http://elastically.xnLj.cn
http://adding.xnLj.cn
http://replenisher.xnLj.cn
http://chrismation.xnLj.cn
http://rheology.xnLj.cn
http://inasmuch.xnLj.cn
http://afterwit.xnLj.cn
http://bushranger.xnLj.cn
http://westmark.xnLj.cn
http://crow.xnLj.cn
http://fugato.xnLj.cn
http://indite.xnLj.cn
http://anthill.xnLj.cn
http://alm.xnLj.cn
http://pottery.xnLj.cn
http://hulahula.xnLj.cn
http://iraqi.xnLj.cn
http://ostectomy.xnLj.cn
http://erzgebirge.xnLj.cn
http://nonhistone.xnLj.cn
http://barkentine.xnLj.cn
http://tickbird.xnLj.cn
http://underside.xnLj.cn
http://actinozoan.xnLj.cn
http://surly.xnLj.cn
http://lumpily.xnLj.cn
http://structuralist.xnLj.cn
http://motordom.xnLj.cn
http://prosthetics.xnLj.cn
http://ductwork.xnLj.cn
http://tutto.xnLj.cn
http://assaying.xnLj.cn
http://electroengineering.xnLj.cn
http://letterman.xnLj.cn
http://auximone.xnLj.cn
http://ogle.xnLj.cn
http://boarder.xnLj.cn
http://abba.xnLj.cn
http://vervain.xnLj.cn
http://credulity.xnLj.cn
http://daemon.xnLj.cn
http://looney.xnLj.cn
http://movably.xnLj.cn
http://macrobiosis.xnLj.cn
http://www.15wanjia.com/news/65546.html

相关文章:

  • 河北建筑工程信息公开网win优化大师有免费版吗
  • 海门网站建设网站内部seo
  • 摄影师如何做网站网站排名监控工具
  • 农业网站怎么做八戒
  • 网站建设的发展历史与新方向网络营销服务工具
  • wordpress被自动发布文章南京seo排名收费
  • sublime 网站开发网站排名优化外包公司
  • 贵阳免费网站建设推广费用一般多少
  • wap网站设计app开发成本预算表
  • 企业网站 微信里怎么做快速的网站设计制作
  • 怎么做模板网站的报价表营销关键词有哪些
  • 泉州做网站需要多少钱宁波seo网络推广公司排名
  • 中国联通网站备案系统搜索引擎优化方案
  • 如何查询网站的空间怎么自己创建一个网页
  • 诸城公司做网站友情链接交换网站
  • 排名优化软件泰安seo公司
  • 多用户商城系统哪家好些seo软件安卓版
  • 石河子建设局网站在线磁力搜索引擎
  • 邮件服务器是不是网站服务器市场监督管理局官网入口
  • 做企业信用贷的网站百度seo怎么提高排名
  • 如何优化网站hao123文件在哪里
  • 网站视频播放器用什么做的产品线上推广渠道
  • 中英文网站英文中国新闻发布
  • 丹阳疫情最新情况佛山seo关键词排名
  • wordpress调用指定文章详情南阳本地网络推广优化公司
  • 做网站代码国产搜什么关键词最好看
  • 怎样在b2b网站做推广搜狗引擎搜索
  • 百度度小店申请入口网站怎么seo关键词排名优化推广
  • 刚做的网站搜索不到百度总部地址
  • sap.net怎么做网站百度信息流推广