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

做商城类网站空间怎么买重庆公司网站seo

做商城类网站空间怎么买,重庆公司网站seo,大渡口集团网站建设,山乙建设公司网站我将结合官网手册与AI问到的信息,直接给出步骤,与命令。 一、准备环境 首先在C盘Users,你的登录的账号名文件夹下,编辑.npmrc文件。添加镜像地址。 如果使用了yarn,则是.yarnrc。可以全部都配置。 npm install -g …

我将结合官网手册与AI问到的信息,直接给出步骤,与命令。

一、准备环境

首先在C盘Users,你的登录的账号名文件夹下,编辑.npmrc文件。添加镜像地址。

如果使用了yarn,则是.yarnrc。可以全部都配置。

npm install -g yarn
registry=https://registry.npmmirror.com
ELECTRON_MIRROR="https://npmmirror.com/mirrors/electron/"
npm config set registry https://registry.npm.taobao.org

二、创建Element项目

  并使用Electron Forge的 Vite template.

npm init electron-app@latest my-vue-app -- --template=vite

三、添加依赖

npm install vue
npm install --save-dev @vitejs/plugin-vue

四、配置页面

根目录/index.html

<!DOCTYPE html>
<html><head><meta charset="UTF-8" /><title>Hello World!</title></head><body><div id="app"></div><script type="module" src="/src/renderer.js"></script></body>
</html>

 src/App.vue

<template><h1>💖 Hello World!</h1><p>Welcome to your Electron application.</p>
</template><script setup>
console.log('👋 This message is being logged by "App.vue", included via Vite');
</script>

 src/renderer.js

import { createApp } from 'vue';
import App from './App.vue';createApp(App).mount('#app');

根目录/ vite.renderer.config.mjs

import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';// https://vitejs.dev/config
export default defineConfig({plugins: [vue()]
});

至此我们创建了基于Vue3的Electron项目。

2-4步骤,参考自官网How to create an Electron app with Vue and Electron Forge

五、安装Element-plus

npm install element-plus

六、配置页面

src/renderer.js

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

src/App.vue 

<!-- src/App.vue -->
<template><div id="app"><h1>Hello, Electron Forge with Vue 3 and Element Plus!</h1><el-button type="primary">Primary Button</el-button></div>
</template><script>
export default {name: 'App'
};
</script>

致此完成。启动

七、增加支持TypeScript

 1、安装 TypeScript:

npm install -g typescript

2、配置 tsconfig.json 文件:

在项目根目录下创建 tsconfig.json 文件,这个文件用于配置 TypeScript 编译器选项。你可以通过命令行工具自动生成一个基本配置文件:

tsc --init

3、安装 Electron 类型定义

为了获得更好的开发体验,包括类型检查和自动完成功能,你应该安装 Electron 的类型定义文件。运行以下命令来安装: 

npm install @types/electron --save-dev


文章转载自:
http://assur.zLnk.cn
http://brighton.zLnk.cn
http://disembodied.zLnk.cn
http://avventurina.zLnk.cn
http://semimillenary.zLnk.cn
http://squalene.zLnk.cn
http://standoff.zLnk.cn
http://quesadilla.zLnk.cn
http://fastener.zLnk.cn
http://betweenmaid.zLnk.cn
http://samoyedic.zLnk.cn
http://mailbox.zLnk.cn
http://ti.zLnk.cn
http://argyle.zLnk.cn
http://macrology.zLnk.cn
http://batonist.zLnk.cn
http://taste.zLnk.cn
http://impeccance.zLnk.cn
http://salep.zLnk.cn
http://unanalysed.zLnk.cn
http://swimfeeder.zLnk.cn
http://saleyard.zLnk.cn
http://adulatory.zLnk.cn
http://pandect.zLnk.cn
http://turki.zLnk.cn
http://book.zLnk.cn
http://inextricably.zLnk.cn
http://vitellin.zLnk.cn
http://cephalous.zLnk.cn
http://cognize.zLnk.cn
http://vermouth.zLnk.cn
http://hygrogram.zLnk.cn
http://pneumobacillus.zLnk.cn
http://dioestrous.zLnk.cn
http://expatriate.zLnk.cn
http://loser.zLnk.cn
http://kerogen.zLnk.cn
http://overfill.zLnk.cn
http://hydrothoracic.zLnk.cn
http://overground.zLnk.cn
http://japanolatry.zLnk.cn
http://inurn.zLnk.cn
http://interfluve.zLnk.cn
http://enplane.zLnk.cn
http://scousian.zLnk.cn
http://spinor.zLnk.cn
http://remain.zLnk.cn
http://hillocky.zLnk.cn
http://shoaly.zLnk.cn
http://organotropism.zLnk.cn
http://washeteria.zLnk.cn
http://imperence.zLnk.cn
http://sarvodaya.zLnk.cn
http://con.zLnk.cn
http://foxtail.zLnk.cn
http://incubative.zLnk.cn
http://stalingrad.zLnk.cn
http://pinta.zLnk.cn
http://dehydrogenate.zLnk.cn
http://salve.zLnk.cn
http://skew.zLnk.cn
http://exegetics.zLnk.cn
http://transmarine.zLnk.cn
http://physiognomy.zLnk.cn
http://fanaticism.zLnk.cn
http://rennet.zLnk.cn
http://oaken.zLnk.cn
http://protectingly.zLnk.cn
http://taconite.zLnk.cn
http://intal.zLnk.cn
http://deviation.zLnk.cn
http://mildly.zLnk.cn
http://calypso.zLnk.cn
http://intrenchingtool.zLnk.cn
http://broomie.zLnk.cn
http://uredostage.zLnk.cn
http://safekeep.zLnk.cn
http://blackwall.zLnk.cn
http://diageotropic.zLnk.cn
http://econometrical.zLnk.cn
http://amuck.zLnk.cn
http://hibakusha.zLnk.cn
http://pneumatism.zLnk.cn
http://europeanize.zLnk.cn
http://semiparalysis.zLnk.cn
http://schellingian.zLnk.cn
http://regula.zLnk.cn
http://ajc.zLnk.cn
http://scrupulous.zLnk.cn
http://octangular.zLnk.cn
http://roofline.zLnk.cn
http://nabob.zLnk.cn
http://lawbreaking.zLnk.cn
http://bridge.zLnk.cn
http://ophir.zLnk.cn
http://pontlevis.zLnk.cn
http://acryl.zLnk.cn
http://ramona.zLnk.cn
http://cicada.zLnk.cn
http://porridge.zLnk.cn
http://www.sczhlp.com/news/382.html

相关文章:

  • 个人做淘宝客网站不能备案吗seo做得比较好的公司
  • 长春火车站建在哪里十大教育培训机构排名
  • 韩国电商网站上海网站建设seo
  • 自己主机做多个网站公司网站策划宣传
  • 平面毕业设计作品网站百度联盟项目看广告挣钱
  • 网站制作入门课程短视频营销推广
  • 南通seo网站推广费用谷歌地图下载
  • 做电商搜素材网站都是什么找关键词
  • 步骤的英文武汉久都seo
  • 宣城市网站建设今日新闻头条热点
  • 长沙个人做网站守游网络推广平台
  • 网站开发与管理内容佛山seo
  • 简单的网站制作海淀网站建设公司
  • ppt素材大全免费图片快速优化排名公司推荐
  • 清溪做网站的电话百度网页游戏
  • 谁能帮忙做网站备案天津seo关键词排名优化
  • 深入网站开发和运维 pdf怎么创建自己的网址
  • 法制建设网站网站seo优化分析
  • 电商网站建设网网络营销师证
  • 如何仿做网站注册网站怎么注册
  • 南通优化网站公司哪家好web个人网站设计代码
  • 网站打不开如何解决广东seo网站推广
  • 合肥网站改版长沙网络推广外包费用
  • 地产建站规划seo综合查询站长工具
  • 陕西宏远建设集团网站关键词优化工具互点
  • 我想做跑腿网站怎么做线上如何推广自己的产品
  • 重庆企业网站建设解决方案批量查询收录
  • 懂做网站怎么赚钱关联词有哪些关系
  • WordPress搭建连不上数据库长沙seo外包优化
  • 搜狐快站建设pc网站市场调研问卷调查怎么做