@timus-networks/theme 2.0.0 → 2.0.16
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/module.ts +1 -1
- package/package.json +2 -2
- package/pages/icons.vue +4 -13
package/module.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@timus-networks/theme",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.16",
|
|
4
4
|
"description": "Nuxt module for Iconsax icons",
|
|
5
5
|
"main": "module.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"lint:stylelint": "stylelint \"**/*.{scss,sass,html,vue}\"",
|
|
11
11
|
"fix": "npm run lint:prettier && npm run lint:eslint -- --fix && npm run lint:stylelint -- --fix",
|
|
12
12
|
"prepack": "npm run fix && node generate-icon.js",
|
|
13
|
-
"pub": "npm publish --access
|
|
13
|
+
"pub": "npm publish --access private"
|
|
14
14
|
},
|
|
15
15
|
"repository": {
|
|
16
16
|
"type": "git",
|
package/pages/icons.vue
CHANGED
|
@@ -6,22 +6,13 @@
|
|
|
6
6
|
</div>
|
|
7
7
|
</template>
|
|
8
8
|
|
|
9
|
-
<script
|
|
9
|
+
<script lang="ts">
|
|
10
|
+
import { definePageMeta } from '#imports';
|
|
11
|
+
|
|
10
12
|
definePageMeta({
|
|
11
|
-
layout: 'modules',
|
|
12
|
-
validate: async (route) =>
|
|
13
|
-
// Check if the id is made up of digits
|
|
14
|
-
true || (typeof route.params.id === 'string' && /^\d+$/.test(route.params.id)),
|
|
15
|
-
});
|
|
16
|
-
useHead({
|
|
17
|
-
title: 'Timus Modules Manager',
|
|
18
|
-
meta: [{ name: 'description', content: 'My amazing site.' }],
|
|
19
|
-
bodyAttrs: { class: 'test' },
|
|
20
|
-
script: [{ innerHTML: "console.log('Hello world')" }],
|
|
13
|
+
layout: 'modules', // veya özel bir layout adı
|
|
21
14
|
});
|
|
22
|
-
</script>
|
|
23
15
|
|
|
24
|
-
<script>
|
|
25
16
|
export default {
|
|
26
17
|
data() {
|
|
27
18
|
return {
|