create-valaxy 0.7.8 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/template/package.json
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
You can override styles here.
|
|
4
4
|
|
|
5
5
|
- New file `index.scss` to write global css.
|
|
6
|
-
- New file `vars.scss` to set css vars.
|
|
6
|
+
- New file `css-vars.scss` to set css vars.
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
<!-- todo: new docs -->
|
|
9
|
+
More info see <https://valaxy.site/guide/extend>.
|
|
File without changes
|
package/template/tsconfig.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type {
|
|
1
|
+
import { defineConfig } from 'valaxy'
|
|
2
|
+
import type { ThemeConfig } from 'valaxy-theme-yun'
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* User Config
|
|
6
|
-
* do not use export const
|
|
7
6
|
*/
|
|
8
|
-
|
|
7
|
+
export default defineConfig<ThemeConfig>({
|
|
9
8
|
lang: 'zh-CN',
|
|
10
9
|
title: 'Valaxy Theme Yun',
|
|
11
10
|
author: {
|
|
@@ -153,6 +152,4 @@ const config: UserConfig<ThemeUserConfig> = {
|
|
|
153
152
|
},
|
|
154
153
|
},
|
|
155
154
|
},
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
export default config
|
|
155
|
+
})
|