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

简单使用Slidev和PPTist

简单使用Slidev和PPTist

1 简介

前端PPT制作有很多优秀的工具包,例如:Slidev、revealjs、PPTist等,Slidev对Markdown格式支持较好,适合与大模型结合使用,选哟二次封装;revealjs适合做数据切换,例如常规的走马灯和单页PPT等,PPTist可直接使用和二次封装。PPTist效果不错。

项目地址

# Slidev
https://github.com/slidevjs/slidev# revealjs
https://github.com/hakimel/reveal.js# PPTist
https://github.com/pipipi-pikachu/PPTist

2 Vue使用Slidev

2.1 使用vite创建项目

# vue3官网
https://cn.vuejs.org/
https://vuejs.org/# vite官网
https://cn.vitejs.dev/# 参考地址
https://sli.dev/guide/

安装slidev

npm init slidev@latest

初始化过程如下

工程名:vppt;框架:Vue;

npm init slidev@latest●■▲Slidev Creator  v51.7.1√ Project name: ... vpptScaffolding project in vppt ...Done.√ Install and start it now? ... yes
√ Choose the package manager » npmadded 644 packages, and audited 645 packages in 51s192 packages are looking for fundingrun `npm fund` for detailsfound 0 vulnerabilities> dev
> slidev --open●■▲Slidev  v51.7.1theme       @slidev/theme-seriphcss engine  unocssentry       D:\1_projects\vscode\vppt\slides.mdpublic slide show   > http://localhost:3030/presenter mode      > http://localhost:3030/presenter/slides overview     > http://localhost:3030/overview/export slides       > http://localhost:3030/export/remote control      > pass --remote to enableshortcuts           > restart | open | edit | quit

2.2 简单使用

⚠️ 在VS code中可以安装Slidev插件

# 启动Slidev
npm run dev# 编译Slidev
npm run build# 导出Slidev
npm run export

访问地址

http://localhost:3030/1

简单操作

在这里插入图片描述

导出PPT

⚠️ 导出的是图片,无法编辑。

在这里插入图片描述

3 简单使用PPTist

从Github上下载PPTist,解压(删除后缀"-master")后按照下面方法初始化。

# 初始化依赖包
npm install# 运行项目
npm run dev

使用页面

在这里插入图片描述

AI生成PPT

在这里插入图片描述

导出PPT
在这里插入图片描述

http://www.dtcms.com/a/198053.html

相关文章:

  • 柔性PZT压电薄膜在线监测锂电池内部缺陷-应对薄膜电池安全挑战
  • Go 语言即时通讯系统开发日志-日志day2-5:架构设计与日志封装
  • 关于文件分片的介绍和应用
  • CSS- 4.3 绝对定位(position: absolute)学校官网导航栏实例
  • 【上位机——WPF】布局控件
  • Adapter适配器模式
  • 利用systemd启动部署在服务器上的web应用
  • Zookeeper入门(三)
  • node 后端和浏览器前端,有关 RSA 非对称加密的完整实践, 前后端匹配的代码演示
  • 从零开始实现大语言模型(十六):加载开源大语言模型参数
  • Flink 并行度的设置
  • 给个人程序加上MCP翅膀
  • 基于labview的声音采集、存储、处理
  • GitHub 趋势日报 (2025年05月17日)
  • C++(243~263)STL常用算法、遍历算法(for_each,Transform)、查找算法、拷贝和替换、常用算术生成,常用集合算法。
  • C++学习:六个月从基础到就业——C++17:if/switch初始化语句
  • 【随机过程】贝叶斯估计
  • 【计算机网络】第一章:计算机网络体系结构
  • TIMER免疫浸润分析
  • 轻量级视频剪辑方案:FFmpeg图形化工具体验
  • 国内人工智能行业研究报告 投资要点
  • Spring Cloud 技术实战
  • 非线性1 修改
  • 23种设计模式解释+记忆
  • 5.18本日总结
  • VMware虚拟机磁盘扩容与LVM分区操作指南
  • GC全场景分析
  • Redis进阶知识
  • 服务端高并发分布式结构演进之路
  • 51单片机,两路倒计时,LCD1602 ,Proteus仿真