andersundsehr/vite_helper
最新稳定版本:1.0.1
Composer 安装命令:
composer require andersundsehr/vite_helper
包简介
Helps with integrationg vite in Prod and Development
README 文档
README
Can only be used together with our internal setup.
Installation
composer require andersundsehr/vite_helper
Usage
add this to your page.typoscript
page.headTag.stdWrap.postUserFunc = AUS\ViteHelper\ViteUtility->headTag
page.headTag.stdWrap.postUserFunc {
fontPreLoad {
0 = src/fonts/Iconfont/icomoon.ttf
1 = src/fonts/lato-v23-latin-300.woff2
2 = src/fonts/lato-v23-latin-700.woff2
3 = src/fonts/lato-v23-latin-regular.woff2
}
css {
0 = src/typescript/index.css
}
js {
0 = src/typescript/index.ts
}
}
you need to have a vite.config.js in your project root
with ♥️ from anders und sehr GmbH
If something did not work 😮
or you appreciate this Extension 🥰 let us know.
We are hiring https://www.andersundsehr.com/karriere/
统计信息
- 总下载量: 1.72k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2024-05-17