Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a511f6e

Browse filesBrowse files
committed
docs: move to GTM
1 parent 88fcc1b commit a511f6e
Copy full SHA for a511f6e

File tree

2 files changed

+20
-323
lines changed
Filter options

2 files changed

+20
-323
lines changed

‎packages/docs/.vuepress/config.ts

Copy file name to clipboardExpand all lines: packages/docs/.vuepress/config.ts
-314Lines changed: 0 additions & 314 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,6 @@ export default defineUserConfig({
141141
icon: `<rect width="288" height="32" x="112" y="152" fill="var(--ci-primary-color, currentColor)" class="ci-primary"></rect><rect width="288" height="32" x="112" y="240" fill="var(--ci-primary-color, currentColor)" class="ci-primary"></rect><rect width="152" height="32" x="112" y="328" fill="var(--ci-primary-color, currentColor)" class="ci-primary"></rect><path fill="var(--ci-primary-color, currentColor)" d="M480,48H32V464H480ZM448,432H64V80H448Z" class="ci-primary"></path>`,
142142
link: `/forms/`,
143143
children: [
144-
// {
145-
// text: 'Overview',
146-
// link: `/forms/overview.html`,
147-
// },
148144
{
149145
text: 'Checkbox',
150146
link: `/forms/checkbox.html`,
@@ -161,10 +157,6 @@ export default defineUserConfig({
161157
text: 'Radio',
162158
link: `/forms/radio.html`,
163159
},
164-
// {
165-
// text: 'Checks & radios',
166-
// link: `/forms/checks-radios.html`,
167-
// },
168160
{
169161
text: 'Range',
170162
link: `/forms/range.html`,
@@ -378,310 +370,4 @@ export default defineUserConfig({
378370
},
379371
],
380372
}),
381-
// theme: resolve(__dirname, './theme-coreui'),
382-
// themeConfig: {
383-
// sidebar: [
384-
// {
385-
// text: 'Getting started',
386-
// icon: '<rect width="32" height="32" x="144" y="464" fill="var(--ci-primary-color, currentColor)" class="ci-primary"></rect><rect width="32" height="32" x="240" y="464" fill="var(--ci-primary-color, currentColor)" class="ci-primary"></rect><rect width="32" height="32" x="336" y="464" fill="var(--ci-primary-color, currentColor)" class="ci-primary"></rect><path fill="var(--ci-primary-color, currentColor)" d="M312,76.82v34.265a142.419,142.419,0,0,1,86.207,130.708C398.207,320.206,334.413,384,256,384S113.793,320.206,113.793,241.793A142.419,142.419,0,0,1,200,111.085V76.82c-68.671,23.373-118.207,88.5-118.207,164.973C81.793,337.851,159.942,416,256,416s174.207-78.149,174.207-174.207C430.207,165.316,380.671,100.193,312,76.82Z" class="ci-primary"></path><rect width="32" height="229.793" x="240" y="16" fill="var(--ci-primary-color, currentColor)" class="ci-primary"></rect>',
387-
// link: `/getting-started/`,
388-
// children: [
389-
// {
390-
// text: 'Introduction',
391-
// link: `/getting-started/introduction.html`,
392-
// },
393-
// {
394-
// text: 'Accessibility',
395-
// link: `/getting-started/accessibility.html`,
396-
// },
397-
// ],
398-
// },
399-
// {
400-
// text: 'Customize',
401-
// icon: '<path fill="var(--ci-primary-color, currentColor)" d="M425.514,82.055C380.778,39.458,320.673,16,256.271,16,196.248,16,136.415,36.073,92.115,71.071,43.032,109.85,16,164.161,16,224c0,60.1,15.531,98.87,48.876,122.019,28,19.438,68.412,27.731,135.124,27.731h29.75A26.28,26.28,0,0,1,256,400v47.984a32,32,0,0,0,32,32h.032l90.755-.088a32.094,32.094,0,0,0,19.686-6.8c9.725-7.622,34.727-29.4,56.8-66.9C482.3,360.262,496,307.037,496,248,496,184.268,470.968,125.334,425.514,82.055Zm2.173,307.915c-19.3,32.792-40.663,51.447-48.932,57.926L288,447.984V400a58.316,58.316,0,0,0-58.25-58.25H200c-59.69,0-94.644-6.585-116.876-22.019C58.833,302.869,48,273.344,48,224,48,113.833,153.9,48,256.271,48,372.755,48,464,135.851,464,248,464,301.253,451.782,349.019,427.687,389.97Z" class="ci-primary"/><path fill="var(--ci-primary-color, currentColor)" d="M128,144a56,56,0,1,0,56,56A56.064,56.064,0,0,0,128,144Zm0,80a24,24,0,1,1,24-24A24.027,24.027,0,0,1,128,224Z" class="ci-primary"/><path fill="var(--ci-primary-color, currentColor)" d="M240,72a56,56,0,1,0,56,56A56.064,56.064,0,0,0,240,72Zm0,80a24,24,0,1,1,24-24A24.027,24.027,0,0,1,240,152Z" class="ci-primary"/><path fill="var(--ci-primary-color, currentColor)" d="M360,128a56,56,0,1,0,56,56A56.064,56.064,0,0,0,360,128Zm0,80a24,24,0,1,1,24-24A24.027,24.027,0,0,1,360,208Z" class="ci-primary"/><path fill="var(--ci-primary-color, currentColor)" d="M376,264a56,56,0,1,0,56,56A56.064,56.064,0,0,0,376,264Zm0,80a24,24,0,1,1,24-24A24.027,24.027,0,0,1,376,344Z" class="ci-primary"/>',
402-
// link: '/customize/',
403-
// children: [
404-
// {
405-
// text: 'Sass',
406-
// link: '/customize/sass.html',
407-
// },
408-
// {
409-
// text: 'Options',
410-
// link: '/customize/options.html',
411-
// },
412-
// {
413-
// text: 'CSS Variables',
414-
// link: '/customize/css-variables.html',
415-
// },
416-
// ],
417-
// },
418-
// {
419-
// text: 'Layout',
420-
// icon: `<path fill="var(--ci-primary-color, currentColor)" d="M16,64V448H496V64ZM464,240H192V96H464ZM192,272H312V416H192ZM48,96H160V416H48ZM344,416V272H464V416Z"></path>`,
421-
// link: `/layout/`,
422-
// children: [
423-
// {
424-
// text: 'Breakpoints',
425-
// link: `/layout/breakpoints.html`,
426-
// },
427-
// {
428-
// text: 'Columns',
429-
// link: `/layout/columns.html`,
430-
// },
431-
// {
432-
// text: 'Containers',
433-
// link: `/layout/containers.html`,
434-
// },
435-
// {
436-
// text: 'Grid',
437-
// link: `/layout/grid.html`,
438-
// },
439-
// {
440-
// text: 'Gutters',
441-
// link: `/layout/gutters.html`,
442-
// },
443-
// ],
444-
// },
445-
// {
446-
// text: 'Forms',
447-
// icon: `<rect width="288" height="32" x="112" y="152" fill="var(--ci-primary-color, currentColor)" class="ci-primary"></rect><rect width="288" height="32" x="112" y="240" fill="var(--ci-primary-color, currentColor)" class="ci-primary"></rect><rect width="152" height="32" x="112" y="328" fill="var(--ci-primary-color, currentColor)" class="ci-primary"></rect><path fill="var(--ci-primary-color, currentColor)" d="M480,48H32V464H480ZM448,432H64V80H448Z" class="ci-primary"></path>`,
448-
// link: `/forms/`,
449-
// children: [
450-
// // {
451-
// // text: 'Overview',
452-
// // link: `/forms/overview.html`,
453-
// // },
454-
// {
455-
// text: 'Checkbox',
456-
// link: `/forms/checkbox.html`,
457-
// },
458-
// {
459-
// text: 'Input',
460-
// link: `/forms/input.html`,
461-
// },
462-
// {
463-
// text: 'Input group',
464-
// link: `/forms/input-group.html`,
465-
// },
466-
// {
467-
// text: 'Radio',
468-
// link: `/forms/radio.html`,
469-
// },
470-
// // {
471-
// // text: 'Checks & radios',
472-
// // link: `/forms/checks-radios.html`,
473-
// // },
474-
// {
475-
// text: 'Range',
476-
// link: `/forms/range.html`,
477-
// },
478-
// {
479-
// text: 'Select',
480-
// link: `/forms/select.html`,
481-
// },
482-
// {
483-
// text: 'Switch',
484-
// link: `/forms/switch.html`,
485-
// },
486-
// {
487-
// text: 'Textarea',
488-
// link: `/forms/textarea.html`,
489-
// },
490-
// {
491-
// text: 'Floating labels',
492-
// link: `/forms/floating-labels.html`,
493-
// },
494-
// {
495-
// text: 'Layout',
496-
// link: `/forms/layout.html`,
497-
// },
498-
// {
499-
// text: 'Validation',
500-
// link: `/forms/validation.html`,
501-
// },
502-
// ],
503-
// },
504-
// {
505-
// text: 'Components',
506-
// icon: '<path fill="var(--ci-primary-color, currentColor)" d="M410.989,16H101.011L16,237.029V496H496V237.029Zm-288,32H240V240H49.143ZM184,272H328v40H184ZM464,464H48V272H152v72H360V272H464ZM272,240V48H389.012l73.845,192Z" class="ci-primary"></path>',
507-
// link: `/components/`,
508-
// children: [
509-
// {
510-
// text: 'Accordion',
511-
// link: `/components/accordion.html`,
512-
// },
513-
// {
514-
// text: 'Alert',
515-
// link: `/components/alert.html`,
516-
// },
517-
// {
518-
// text: 'Avatar',
519-
// link: `/components/avatar.html`,
520-
// },
521-
// {
522-
// text: 'Badge',
523-
// link: `/components/badge.html`,
524-
// },
525-
// {
526-
// text: 'Breadcrumb',
527-
// link: `/components/breadcrumb.html`,
528-
// },
529-
// {
530-
// text: 'Buttons',
531-
// link: `/components/button.html`,
532-
// },
533-
// {
534-
// text: 'Button Group',
535-
// link: `/components/button-group.html`,
536-
// },
537-
// {
538-
// text: 'Callout',
539-
// link: `/components/callout.html`,
540-
// },
541-
// {
542-
// text: 'Card',
543-
// link: `/components/card.html`,
544-
// },
545-
// {
546-
// text: 'Carousel',
547-
// link: `/components/carousel.html`,
548-
// },
549-
// {
550-
// text: 'Chart',
551-
// link: `/components/chart.html`,
552-
// },
553-
// {
554-
// text: 'Close Button',
555-
// link: `/components/close-button.html`,
556-
// },
557-
// {
558-
// text: 'Collapse',
559-
// link: `/components/collapse.html`,
560-
// },
561-
// {
562-
// text: 'Dropdown',
563-
// link: `/components/dropdown.html`,
564-
// },
565-
// {
566-
// text: 'Footer',
567-
// link: `/components/footer.html`,
568-
// },
569-
// {
570-
// text: 'Header',
571-
// link: `/components/header.html`,
572-
// },
573-
// {
574-
// text: 'Icon',
575-
// link: `/components/icon.html`,
576-
// },
577-
// {
578-
// text: 'Image',
579-
// link: `/components/image.html`,
580-
// },
581-
// {
582-
// text: 'List Group',
583-
// link: `/components/list-group.html`,
584-
// },
585-
// {
586-
// text: 'Modal',
587-
// link: `/components/modal.html`,
588-
// },
589-
// {
590-
// text: 'Navs & Tabs',
591-
// link: `/components/navs-tabs.html`,
592-
// },
593-
// {
594-
// text: 'Navbar',
595-
// link: `/components/navbar.html`,
596-
// },
597-
// {
598-
// text: 'Offcanvas',
599-
// link: `/components/offcanvas.html`,
600-
// },
601-
// {
602-
// text: 'Pagination',
603-
// link: `/components/pagination.html`,
604-
// },
605-
// {
606-
// text: 'Placeholder',
607-
// link: `/components/placeholder.html`,
608-
// },
609-
// {
610-
// text: 'Popover',
611-
// link: `/components/popover.html`,
612-
// },
613-
// {
614-
// text: 'Progress',
615-
// link: `/components/progress.html`,
616-
// },
617-
// {
618-
// text: 'Sidebar',
619-
// link: `/components/sidebar.html`,
620-
// },
621-
// {
622-
// text: 'Spinner',
623-
// link: `/components/spinner.html`,
624-
// },
625-
// {
626-
// text: 'Table',
627-
// link: `/components/table.html`,
628-
// },
629-
// {
630-
// text: 'Toast',
631-
// link: `/components/toast.html`,
632-
// },
633-
// {
634-
// text: 'Tooltip',
635-
// link: `/components/tooltip.html`,
636-
// },
637-
// {
638-
// text: 'Widgets',
639-
// link: `/components/widgets.html`,
640-
// },
641-
// ],
642-
// },
643-
// {
644-
// text: 'Templates',
645-
// link: '/templates/',
646-
// icon: '<path fill="var(--ci-primary-color, currentColor)" d="M472,232H424V120a24.028,24.028,0,0,0-24-24H40a24.028,24.028,0,0,0-24,24V366a24.028,24.028,0,0,0,24,24H212v50H152v32H304V440H244V390h92v58a24.027,24.027,0,0,0,24,24H472a24.027,24.027,0,0,0,24-24V256A24.027,24.027,0,0,0,472,232ZM336,256V358H48V128H392V232H360A24.027,24.027,0,0,0,336,256ZM464,440H368V264h96Z" class="ci-primary"/>',
647-
// children: [
648-
// {
649-
// text: 'Admin & Dashboard',
650-
// link: '/templates/admin-dashboard.html',
651-
// badge: {
652-
// color: 'success',
653-
// text: 'New',
654-
// }
655-
// },
656-
// {
657-
// text: 'Download',
658-
// link: '/templates/download.html',
659-
// },
660-
// {
661-
// text: 'Installation',
662-
// link: '/templates/installation.html',
663-
// },
664-
// {
665-
// text: 'Customize',
666-
// link: '/templates/customize.html',
667-
// },
668-
// {
669-
// text: 'Contents',
670-
// link: '/templates/contents.html',
671-
// },
672-
// ],
673-
// },
674-
// {
675-
// text: 'Migration',
676-
// link: '/migration/',
677-
// icon: '<path fill="var(--ci-primary-color, currentColor)" d="M464,256.25C464,370.8,370.8,464,256.25,464S48.5,370.8,48.5,256.25,141.7,48.5,256.25,48.5a208,208,0,0,1,149.963,64H328.5v32h128V16.5h-32V85.478A239.717,239.717,0,1,0,496,256.25Z" class="ci-primary"></path><polygon fill="var(--ci-primary-color, currentColor)" points="272.5 112.451 240.5 112.549 241.017 282.756 353.301 334.53 366.699 305.47 272.954 262.244 272.5 112.451" class="ci-primary"></polygon>',
678-
// children: [
679-
// {
680-
// text: 'v4',
681-
// link: '/migration/v4.html',
682-
// },
683-
// ],
684-
// },
685-
// ],
686-
// },
687373
})
+20-9Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,33 @@
11
<!DOCTYPE html>
22
<html lang="{{ lang }}">
33
<head>
4-
<meta charset="utf-8">
5-
<meta name="viewport" content="width=device-width,initial-scale=1">
6-
<meta name="generator" content="VuePress {{ version }}">
4+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width,initial-scale=1" />
6+
<meta name="generator" content="VuePress {{ version }}" />
77
<script>
8-
const userMode = localStorage.getItem('coreui-vue-docs-theme');
9-
const systemDarkMode = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;
10-
if (userMode === 'dark' || (userMode !== 'light' && systemDarkMode)) {
11-
document.documentElement.dataset.coreuiTheme = 'dark';
12-
}
8+
const userMode = localStorage.getItem('coreui-vue-docs-theme')
9+
const systemDarkMode =
10+
window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
11+
if (userMode === 'dark' || (userMode !== 'light' && systemDarkMode)) {
12+
document.documentElement.dataset.coreuiTheme = 'dark'
13+
}
1314
</script>
1415
<!--vuepress-ssr-head-->
1516
<!--vuepress-ssr-styles-->
1617
<!--vuepress-ssr-resources-->
1718
</head>
1819
<body>
20+
<!-- Google Tag Manager (noscript) -->
21+
<noscript
22+
><iframe
23+
src="https://www.googletagmanager.com/ns.html?id=GTM-KX4JH47"
24+
height="0"
25+
width="0"
26+
style="display: none; visibility: hidden"
27+
></iframe
28+
></noscript>
29+
<!-- End Google Tag Manager (noscript) -->
1930
<div id="app"><!--vuepress-ssr-app--></div>
2031
<!--vuepress-ssr-scripts-->
2132
</body>
22-
</html>
33+
</html>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.