🎨更换web页面框架

This commit is contained in:
coward
2024-07-15 16:47:53 +08:00
parent 1f49b798eb
commit da7ffc9343
411 changed files with 7244 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
/**********************************
* @Author: Ronnie Zhang
* @LastEditor: Ronnie Zhang
* @LastEditTime: 2023/12/04 22:48:11
* @Email: zclzone@outlook.com
* Copyright © 2023 Ronnie Zhang(大脸怪) | https://isme.top
**********************************/
import { getIcons } from '..'
const PLUGIN_ICONS_ID = 'isme:icons'
export function pluginIcons() {
return {
name: 'isme:icons',
resolveId(id) {
if (id === PLUGIN_ICONS_ID)
return `\0${PLUGIN_ICONS_ID}`
},
load(id) {
if (id === `\0${PLUGIN_ICONS_ID}`) {
return `export default ${JSON.stringify(getIcons())}`
}
},
}
}

View File

@@ -0,0 +1,10 @@
/**********************************
* @Author: Ronnie Zhang
* @LastEditor: Ronnie Zhang
* @LastEditTime: 2023/12/04 22:48:17
* @Email: zclzone@outlook.com
* Copyright © 2023 Ronnie Zhang(大脸怪) | https://isme.top
**********************************/
export { pluginPagePathes } from './page-pathes'
export { pluginIcons } from './icons'

View File

@@ -0,0 +1,25 @@
/**********************************
* @Author: Ronnie Zhang
* @LastEditor: Ronnie Zhang
* @LastEditTime: 2023/12/05 21:37:43
* @Email: zclzone@outlook.com
* Copyright © 2023 Ronnie Zhang(大脸怪) | https://isme.top
**********************************/
import { getPagePathes } from '..'
const PLUGIN_PAGE_PATHES_ID = 'isme:page-pathes'
export function pluginPagePathes() {
return {
name: 'isme:page-pathes',
resolveId(id) {
if (id === PLUGIN_PAGE_PATHES_ID)
return `\0${PLUGIN_PAGE_PATHES_ID}`
},
load(id) {
if (id === `\0${PLUGIN_PAGE_PATHES_ID}`) {
return `export default ${JSON.stringify(getPagePathes())}`
}
},
}
}