slicejs-cli 2.0.5 → 2.0.6
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/ProjectTemplate/api/index.js +97 -0
- package/ProjectTemplate/src/App/index.html +22 -0
- package/ProjectTemplate/src/App/index.js +63 -0
- package/ProjectTemplate/src/App/style.css +40 -0
- package/ProjectTemplate/src/Components/AppComponents/ButtonDocumentation/ButtonDocumentation.css +16 -0
- package/ProjectTemplate/src/Components/AppComponents/ButtonDocumentation/ButtonDocumentation.html +22 -0
- package/ProjectTemplate/src/Components/AppComponents/ButtonDocumentation/ButtonDocumentation.js +102 -0
- package/ProjectTemplate/src/Components/AppComponents/CardDocumentation/CardDocumentation.css +15 -0
- package/ProjectTemplate/src/Components/AppComponents/CardDocumentation/CardDocumentation.html +38 -0
- package/ProjectTemplate/src/Components/AppComponents/CardDocumentation/CardDocumentation.js +113 -0
- package/ProjectTemplate/src/Components/AppComponents/CheckboxDocumentation/CheckboxDocumentation.css +21 -0
- package/ProjectTemplate/src/Components/AppComponents/CheckboxDocumentation/CheckboxDocumentation.html +35 -0
- package/ProjectTemplate/src/Components/AppComponents/CheckboxDocumentation/CheckboxDocumentation.js +103 -0
- package/ProjectTemplate/src/Components/AppComponents/CodeVisualizer/CodeVisualizer.css +14 -0
- package/ProjectTemplate/src/Components/AppComponents/CodeVisualizer/CodeVisualizer.html +3 -0
- package/ProjectTemplate/src/Components/AppComponents/CodeVisualizer/CodeVisualizer.js +45 -0
- package/ProjectTemplate/src/Components/AppComponents/Documentation/Documentation.css +0 -0
- package/ProjectTemplate/src/Components/AppComponents/Documentation/Documentation.html +30 -0
- package/ProjectTemplate/src/Components/AppComponents/Documentation/Documentation.js +75 -0
- package/ProjectTemplate/src/Components/AppComponents/DocumentationPage/DocumentationPage.css +62 -0
- package/ProjectTemplate/src/Components/AppComponents/DocumentationPage/DocumentationPage.html +0 -0
- package/ProjectTemplate/src/Components/AppComponents/DocumentationPage/DocumentationPage.js +241 -0
- package/ProjectTemplate/src/Components/AppComponents/InputDocumentation/InputDocumentation.css +41 -0
- package/ProjectTemplate/src/Components/AppComponents/InputDocumentation/InputDocumentation.html +95 -0
- package/ProjectTemplate/src/Components/AppComponents/InputDocumentation/InputDocumentation.js +315 -0
- package/ProjectTemplate/src/Components/AppComponents/LandingMenu/LandingMenu.css +108 -0
- package/ProjectTemplate/src/Components/AppComponents/LandingMenu/LandingMenu.html +16 -0
- package/ProjectTemplate/src/Components/AppComponents/LandingMenu/LandingMenu.js +33 -0
- package/ProjectTemplate/src/Components/AppComponents/LandingPage/LandingPage.css +14 -0
- package/ProjectTemplate/src/Components/AppComponents/LandingPage/LandingPage.html +0 -0
- package/ProjectTemplate/src/Components/AppComponents/LandingPage/LandingPage.js +53 -0
- package/ProjectTemplate/src/Components/AppComponents/MainMenu/MainMenu.css +80 -0
- package/ProjectTemplate/src/Components/AppComponents/MainMenu/MainMenu.html +39 -0
- package/ProjectTemplate/src/Components/AppComponents/MainMenu/MainMenu.js +42 -0
- package/ProjectTemplate/src/Components/AppComponents/MyLayout/MyLayout.css +0 -0
- package/ProjectTemplate/src/Components/AppComponents/MyLayout/MyLayout.html +0 -0
- package/ProjectTemplate/src/Components/AppComponents/MyLayout/MyLayout.js +13 -0
- package/ProjectTemplate/src/Components/AppComponents/MyNavigation/MyNavigation.css +49 -0
- package/ProjectTemplate/src/Components/AppComponents/MyNavigation/MyNavigation.html +1 -0
- package/ProjectTemplate/src/Components/AppComponents/MyNavigation/MyNavigation.js +60 -0
- package/ProjectTemplate/src/Components/AppComponents/Playground/Playground.css +12 -0
- package/ProjectTemplate/src/Components/AppComponents/Playground/Playground.html +0 -0
- package/ProjectTemplate/src/Components/AppComponents/Playground/Playground.js +126 -0
- package/ProjectTemplate/src/Components/AppComponents/SliceTeamCard/SliceTeamCard.css +104 -0
- package/ProjectTemplate/src/Components/AppComponents/SliceTeamCard/SliceTeamCard.html +12 -0
- package/ProjectTemplate/src/Components/AppComponents/SliceTeamCard/SliceTeamCard.js +74 -0
- package/ProjectTemplate/src/Components/AppComponents/SwitchDocumentation/SwitchDocumentation.css +21 -0
- package/ProjectTemplate/src/Components/AppComponents/SwitchDocumentation/SwitchDocumentation.html +35 -0
- package/ProjectTemplate/src/Components/AppComponents/SwitchDocumentation/SwitchDocumentation.js +103 -0
- package/ProjectTemplate/src/Components/AppComponents/TheSliceTeam/TheSliceTeam.css +23 -0
- package/ProjectTemplate/src/Components/AppComponents/TheSliceTeam/TheSliceTeam.html +6 -0
- package/ProjectTemplate/src/Components/AppComponents/TheSliceTeam/TheSliceTeam.js +129 -0
- package/ProjectTemplate/src/Components/AppComponents/WhatIsSlice/WhatIsSlice.css +0 -0
- package/ProjectTemplate/src/Components/AppComponents/WhatIsSlice/WhatIsSlice.html +7 -0
- package/ProjectTemplate/src/Components/AppComponents/WhatIsSlice/WhatIsSlice.js +15 -0
- package/ProjectTemplate/src/Components/Service/FetchManager/FetchManager.js +133 -0
- package/ProjectTemplate/src/Components/Service/IndexedDbManager/IndexedDbManager.js +141 -0
- package/ProjectTemplate/src/Components/Service/Link/Link.js +26 -0
- package/ProjectTemplate/src/Components/Visual/Button/Button.css +47 -0
- package/ProjectTemplate/src/Components/Visual/Button/Button.html +5 -0
- package/ProjectTemplate/src/Components/Visual/Button/Button.js +70 -0
- package/ProjectTemplate/src/Components/Visual/Card/Card.css +68 -0
- package/ProjectTemplate/src/Components/Visual/Card/Card.html +7 -0
- package/ProjectTemplate/src/Components/Visual/Card/Card.js +107 -0
- package/ProjectTemplate/src/Components/Visual/Checkbox/Checkbox.css +87 -0
- package/ProjectTemplate/src/Components/Visual/Checkbox/Checkbox.html +8 -0
- package/ProjectTemplate/src/Components/Visual/Checkbox/Checkbox.js +86 -0
- package/ProjectTemplate/src/Components/Visual/Details/Details.css +70 -0
- package/ProjectTemplate/src/Components/Visual/Details/Details.html +9 -0
- package/ProjectTemplate/src/Components/Visual/Details/Details.js +76 -0
- package/ProjectTemplate/src/Components/Visual/DropDown/DropDown.css +60 -0
- package/ProjectTemplate/src/Components/Visual/DropDown/DropDown.html +5 -0
- package/ProjectTemplate/src/Components/Visual/DropDown/DropDown.js +63 -0
- package/ProjectTemplate/src/Components/Visual/Grid/Grid.css +7 -0
- package/ProjectTemplate/src/Components/Visual/Grid/Grid.html +1 -0
- package/ProjectTemplate/src/Components/Visual/Grid/Grid.js +57 -0
- package/ProjectTemplate/src/Components/Visual/Icon/Icon.css +510 -0
- package/ProjectTemplate/src/Components/Visual/Icon/Icon.html +1 -0
- package/ProjectTemplate/src/Components/Visual/Icon/Icon.js +89 -0
- package/ProjectTemplate/src/Components/Visual/Icon/slc.eot +0 -0
- package/ProjectTemplate/src/Components/Visual/Icon/slc.json +555 -0
- package/ProjectTemplate/src/Components/Visual/Icon/slc.styl +507 -0
- package/ProjectTemplate/src/Components/Visual/Icon/slc.svg +1485 -0
- package/ProjectTemplate/src/Components/Visual/Icon/slc.symbol.svg +1059 -0
- package/ProjectTemplate/src/Components/Visual/Icon/slc.ttf +0 -0
- package/ProjectTemplate/src/Components/Visual/Icon/slc.woff +0 -0
- package/ProjectTemplate/src/Components/Visual/Icon/slc.woff2 +0 -0
- package/ProjectTemplate/src/Components/Visual/Input/Input.css +91 -0
- package/ProjectTemplate/src/Components/Visual/Input/Input.html +4 -0
- package/ProjectTemplate/src/Components/Visual/Input/Input.js +215 -0
- package/ProjectTemplate/src/Components/Visual/Layout/Layout.css +0 -0
- package/ProjectTemplate/src/Components/Visual/Layout/Layout.html +0 -0
- package/ProjectTemplate/src/Components/Visual/Layout/Layout.js +49 -0
- package/ProjectTemplate/src/Components/Visual/Loading/Loading.css +56 -0
- package/ProjectTemplate/src/Components/Visual/Loading/Loading.html +83 -0
- package/ProjectTemplate/src/Components/Visual/Loading/Loading.js +38 -0
- package/ProjectTemplate/src/Components/Visual/MultiRoute/MultiRoute.js +93 -0
- package/ProjectTemplate/src/Components/Visual/Navbar/Navbar.css +115 -0
- package/ProjectTemplate/src/Components/Visual/Navbar/Navbar.html +44 -0
- package/ProjectTemplate/src/Components/Visual/Navbar/Navbar.js +141 -0
- package/ProjectTemplate/src/Components/Visual/NotFound/NotFound.css +117 -0
- package/ProjectTemplate/src/Components/Visual/NotFound/NotFound.html +24 -0
- package/ProjectTemplate/src/Components/Visual/NotFound/NotFound.js +16 -0
- package/ProjectTemplate/src/Components/Visual/Route/Route.js +93 -0
- package/ProjectTemplate/src/Components/Visual/Select/Select.css +84 -0
- package/ProjectTemplate/src/Components/Visual/Select/Select.html +8 -0
- package/ProjectTemplate/src/Components/Visual/Select/Select.js +195 -0
- package/ProjectTemplate/src/Components/Visual/Switch/Switch.css +76 -0
- package/ProjectTemplate/src/Components/Visual/Switch/Switch.html +8 -0
- package/ProjectTemplate/src/Components/Visual/Switch/Switch.js +102 -0
- package/ProjectTemplate/src/Components/Visual/TreeItem/TreeItem.css +36 -0
- package/ProjectTemplate/src/Components/Visual/TreeItem/TreeItem.html +1 -0
- package/ProjectTemplate/src/Components/Visual/TreeItem/TreeItem.js +126 -0
- package/ProjectTemplate/src/Components/Visual/TreeView/TreeView.css +8 -0
- package/ProjectTemplate/src/Components/Visual/TreeView/TreeView.html +1 -0
- package/ProjectTemplate/src/Components/Visual/TreeView/TreeView.js +48 -0
- package/ProjectTemplate/src/Components/components.js +42 -0
- package/ProjectTemplate/src/Styles/sliceStyles.css +34 -0
- package/ProjectTemplate/src/Themes/Dark.css +42 -0
- package/ProjectTemplate/src/Themes/Light.css +31 -0
- package/ProjectTemplate/src/Themes/Slice.css +47 -0
- package/ProjectTemplate/src/images/Slice.js-logo.png +0 -0
- package/ProjectTemplate/src/images/favicon.ico +0 -0
- package/ProjectTemplate/src/images/im2/Slice.js-logo.png +0 -0
- package/ProjectTemplate/src/routes.js +36 -0
- package/ProjectTemplate/src/sliceConfig.json +58 -0
- package/package.json +1 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
const components = {
|
|
2
|
+
"ButtonDocumentation": "AppComponents",
|
|
3
|
+
"CardDocumentation": "AppComponents",
|
|
4
|
+
"CheckboxDocumentation": "AppComponents",
|
|
5
|
+
"CodeVisualizer": "AppComponents",
|
|
6
|
+
"Documentation": "AppComponents",
|
|
7
|
+
"DocumentationPage": "AppComponents",
|
|
8
|
+
"InputDocumentation": "AppComponents",
|
|
9
|
+
"LandingMenu": "AppComponents",
|
|
10
|
+
"LandingPage": "AppComponents",
|
|
11
|
+
"MainMenu": "AppComponents",
|
|
12
|
+
"MyLayout": "AppComponents",
|
|
13
|
+
"MyNavigation": "AppComponents",
|
|
14
|
+
"Playground": "AppComponents",
|
|
15
|
+
"SliceTeamCard": "AppComponents",
|
|
16
|
+
"SwitchDocumentation": "AppComponents",
|
|
17
|
+
"TheSliceTeam": "AppComponents",
|
|
18
|
+
"WhatIsSlice": "AppComponents",
|
|
19
|
+
"Button": "Visual",
|
|
20
|
+
"Card": "Visual",
|
|
21
|
+
"Checkbox": "Visual",
|
|
22
|
+
"Details": "Visual",
|
|
23
|
+
"DropDown": "Visual",
|
|
24
|
+
"Grid": "Visual",
|
|
25
|
+
"Icon": "Visual",
|
|
26
|
+
"Input": "Visual",
|
|
27
|
+
"Layout": "Visual",
|
|
28
|
+
"Loading": "Visual",
|
|
29
|
+
"MultiRoute": "Visual",
|
|
30
|
+
"Navbar": "Visual",
|
|
31
|
+
"NotFound": "Visual",
|
|
32
|
+
"Route": "Visual",
|
|
33
|
+
"Select": "Visual",
|
|
34
|
+
"Switch": "Visual",
|
|
35
|
+
"TreeItem": "Visual",
|
|
36
|
+
"TreeView": "Visual",
|
|
37
|
+
"FetchManager": "Service",
|
|
38
|
+
"IndexedDbManager": "Service",
|
|
39
|
+
"Link": "Service",
|
|
40
|
+
"LocalStorageManager": "Service",
|
|
41
|
+
"Translator": "Service"
|
|
42
|
+
}; export default components;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
@import url("https://fonts.googleapis.com/css2?family=Montserrat&family=Poppins&family=Roboto&display=swap");
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
|
|
5
|
+
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
|
6
|
+
--border-radius-slice: 5px;
|
|
7
|
+
--slice-border: 1px;
|
|
8
|
+
}
|
|
9
|
+
body {
|
|
10
|
+
margin: 0;
|
|
11
|
+
background-color: var(--primary-background-color);
|
|
12
|
+
}
|
|
13
|
+
.caret {
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
width: 0;
|
|
16
|
+
height: 0;
|
|
17
|
+
border-left: 5px solid transparent;
|
|
18
|
+
border-right: 5px solid transparent;
|
|
19
|
+
border-top: 6px solid;
|
|
20
|
+
transition: transform 0.3s;
|
|
21
|
+
}
|
|
22
|
+
.caret_open {
|
|
23
|
+
transform: rotate(180deg);
|
|
24
|
+
}
|
|
25
|
+
*::-webkit-scrollbar {
|
|
26
|
+
width: 5px;
|
|
27
|
+
}
|
|
28
|
+
*::-webkit-scrollbar:horizontal {
|
|
29
|
+
height: 3px;
|
|
30
|
+
}
|
|
31
|
+
*::-webkit-scrollbar-thumb {
|
|
32
|
+
background: var(--secondary-color);
|
|
33
|
+
border-radius: var(--border-radius-slice);
|
|
34
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--font-primary-color: #fff;
|
|
3
|
+
|
|
4
|
+
/** primary **/
|
|
5
|
+
--primary-color: #0066ff;
|
|
6
|
+
--primary-color-rgb: rgb(0, 102, 255);
|
|
7
|
+
/* Se reemplaza el negro puro por un gris muy oscuro, más cálido y agradable */
|
|
8
|
+
--primary-background-color: #282828; /* antes: #000 */
|
|
9
|
+
--primary-color-contrast: #000;
|
|
10
|
+
/* Ajustamos la sombra para que armonice con el fondo aclarado */
|
|
11
|
+
--primary-color-shade: #383838; /* antes: #222 */
|
|
12
|
+
|
|
13
|
+
/** secondary **/
|
|
14
|
+
--secondary-color: #63ccfd;
|
|
15
|
+
--secondary-color-rgb: rgb(99, 204, 253);
|
|
16
|
+
/* Se aclara el fondo secundario para suavizar el efecto general */
|
|
17
|
+
--secondary-background-color: #333333; /* antes: #222 */
|
|
18
|
+
--secondary-color-contrast: #fff;
|
|
19
|
+
|
|
20
|
+
/** tertiary **/
|
|
21
|
+
/* Se levanta ligeramente el fondo terciario para mantener la coherencia visual */
|
|
22
|
+
--tertiary-background-color: #555555; /* antes: #444 */
|
|
23
|
+
|
|
24
|
+
/** success **/
|
|
25
|
+
--success-color: #00ff40;
|
|
26
|
+
--success-contrast: #000;
|
|
27
|
+
|
|
28
|
+
/** warning **/
|
|
29
|
+
--warning-color: #ffff40;
|
|
30
|
+
--warning-contrast: #000;
|
|
31
|
+
|
|
32
|
+
/** danger **/
|
|
33
|
+
--danger-color: #ff0000;
|
|
34
|
+
--danger-contrast: #000;
|
|
35
|
+
|
|
36
|
+
/** medium **/
|
|
37
|
+
--medium-color: #92949c;
|
|
38
|
+
--medium-contrast: #fff;
|
|
39
|
+
|
|
40
|
+
/* Disabled color */
|
|
41
|
+
--disabled-color: #7f7f7f;
|
|
42
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--font-primary-color: #000;
|
|
3
|
+
--font-secondary-color: #474747;
|
|
4
|
+
/** primary **/
|
|
5
|
+
--primary-color: #0066ff;
|
|
6
|
+
--primary-color-rgb: rgb(0, 102, 255);
|
|
7
|
+
--primary-background-color: #fff;
|
|
8
|
+
--primary-color-contrast: #fff;
|
|
9
|
+
--primary-color-shade: #ddd;
|
|
10
|
+
/** secondary **/
|
|
11
|
+
--secondary-color: #63ccfd;
|
|
12
|
+
--secondary-color-rgb: rgb(99, 204, 253);
|
|
13
|
+
--secondary-background-color: #ddd;
|
|
14
|
+
--secondary-color-contrast: #fff;
|
|
15
|
+
/** tertiary **/
|
|
16
|
+
--tertiary-background-color: #c4c4c4;
|
|
17
|
+
/** success **/
|
|
18
|
+
--success-color: #00ff40;
|
|
19
|
+
--success-contrast: #fff;
|
|
20
|
+
/** warning **/
|
|
21
|
+
--warning-color: #ffff40;
|
|
22
|
+
--warning-contrast: #000;
|
|
23
|
+
/** danger **/
|
|
24
|
+
--danger-color: #ff0000;
|
|
25
|
+
--danger-contrast: #fff;
|
|
26
|
+
/** medium **/
|
|
27
|
+
--medium-color: #92949c;
|
|
28
|
+
--medium--contrast: #000;
|
|
29
|
+
|
|
30
|
+
--disabled-color: #7f7f7f;
|
|
31
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/* Tipografía */
|
|
3
|
+
--font-primary-color: #6D2323; /* Rojo profundo para los textos principales */
|
|
4
|
+
--font-secondary-color: #A31D1D; /* Rojo más intenso para destacar */
|
|
5
|
+
|
|
6
|
+
/** Primary - Colores cálidos **/
|
|
7
|
+
--primary-color: #A31D1D; /* Rojo oscuro pero sofisticado */
|
|
8
|
+
--primary-color-rgb: 163, 29, 29;
|
|
9
|
+
--primary-background-color: #FEF9E1; /* Beige suave para el fondo, cálido y acogedor */
|
|
10
|
+
--primary-color-contrast: #ffffff; /* Contraste blanco para claridad */
|
|
11
|
+
--primary-color-shade: #6D2323; /* Rojo más oscuro para énfasis */
|
|
12
|
+
|
|
13
|
+
/** Secondary - Color cálido y elegante **/
|
|
14
|
+
--secondary-color: #E5D0AC; /* Beige cálido y suave */
|
|
15
|
+
--secondary-color-rgb: 229, 208, 172;
|
|
16
|
+
--secondary-background-color: #FEF9E1; /* Fondo claro para resaltar los elementos */
|
|
17
|
+
--secondary-color-contrast: #6D2323; /* Contraste con el rojo más oscuro */
|
|
18
|
+
|
|
19
|
+
/** Tertiary - Colores neutros pero sofisticados **/
|
|
20
|
+
--tertiary-background-color: #F5E0C7; /* Beige un poco más oscuro para balancear el diseño */
|
|
21
|
+
|
|
22
|
+
/** Success - Verde suave para mensajes positivos **/
|
|
23
|
+
--success-color: #4CAF50; /* Verde natural para dar un toque de frescura */
|
|
24
|
+
--success-contrast: #ffffff;
|
|
25
|
+
|
|
26
|
+
/** Warning - Amarillo suave para advertencias sutiles **/
|
|
27
|
+
--warning-color: #FFB74D;
|
|
28
|
+
--warning-contrast: #4e342e;
|
|
29
|
+
|
|
30
|
+
/** Danger - Rojo más suave para alertas pero no tan fuerte **/
|
|
31
|
+
--danger-color: #6D2323; /* Rojo profundo para peligros o advertencias */
|
|
32
|
+
--danger-contrast: #ffffff;
|
|
33
|
+
|
|
34
|
+
/** Medium - Gris cálido para textos secundarios **/
|
|
35
|
+
--medium-color: #A89F91;
|
|
36
|
+
--medium-contrast: #000000;
|
|
37
|
+
|
|
38
|
+
/* Disabled - Un color claro para elementos deshabilitados */
|
|
39
|
+
--disabled-color: #E6E0B9;
|
|
40
|
+
|
|
41
|
+
/** Accent - Un toque cálido y sutil **/
|
|
42
|
+
--accent-color: #C75B5B;
|
|
43
|
+
|
|
44
|
+
/* Sombras suaves para dar profundidad */
|
|
45
|
+
--box-shadow-primary: 0px 4px 10px rgba(163, 29, 29, 0.1);
|
|
46
|
+
--box-shadow-secondary: 0px 3px 8px rgba(109, 35, 35, 0.1);
|
|
47
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
const routes = [
|
|
2
|
+
{ path: '/', component: 'LandingPage' },
|
|
3
|
+
{
|
|
4
|
+
path: '/Documentation',
|
|
5
|
+
component: 'DocumentationPage',
|
|
6
|
+
children: [
|
|
7
|
+
{
|
|
8
|
+
path: '/Button',
|
|
9
|
+
component: 'ButtonDocumentation',
|
|
10
|
+
},
|
|
11
|
+
],
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
path: '/Documentation/CustomMenu',
|
|
15
|
+
component: 'DocumentationPage',
|
|
16
|
+
children: [
|
|
17
|
+
{
|
|
18
|
+
path: '/Button',
|
|
19
|
+
component: 'CardDocumentation',
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
},
|
|
23
|
+
{ path: '/Documentation/CustomMenu/pepito', component: 'Button' },
|
|
24
|
+
{ path: '/Playground', component: 'Playground' },
|
|
25
|
+
{ path: '/404', component: 'NotFound' },
|
|
26
|
+
{
|
|
27
|
+
path: '/Docum/${category}/${id}', // Ejemplo con dos parámetros: "category" e "id"
|
|
28
|
+
component: 'LandingPage',
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
path:'/Team',
|
|
32
|
+
component: 'TheSliceTeam',
|
|
33
|
+
}
|
|
34
|
+
];
|
|
35
|
+
|
|
36
|
+
export default routes;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"debugger": {
|
|
3
|
+
"enabled": false,
|
|
4
|
+
"click": "right"
|
|
5
|
+
},
|
|
6
|
+
"stylesManager":{
|
|
7
|
+
"requestedStyles":["sliceStyles"]
|
|
8
|
+
},
|
|
9
|
+
"themeManager": {
|
|
10
|
+
"enabled":true,
|
|
11
|
+
"defaultTheme": "Slice",
|
|
12
|
+
"saveThemeLocally": false,
|
|
13
|
+
"useBrowserTheme": false
|
|
14
|
+
},
|
|
15
|
+
"logger": {
|
|
16
|
+
"enabled": true,
|
|
17
|
+
"showLogs": {
|
|
18
|
+
"console": {
|
|
19
|
+
"error": true,
|
|
20
|
+
"warning": true,
|
|
21
|
+
"info": false
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"translator": {
|
|
26
|
+
"enabled": false
|
|
27
|
+
},
|
|
28
|
+
"paths": {
|
|
29
|
+
"components": {
|
|
30
|
+
"AppComponents":{
|
|
31
|
+
"path":"/Components/AppComponents",
|
|
32
|
+
"type":"Visual"
|
|
33
|
+
},
|
|
34
|
+
"Visual":{
|
|
35
|
+
"path":"/Components/Visual",
|
|
36
|
+
"type":"Visual"
|
|
37
|
+
},
|
|
38
|
+
"Service":{
|
|
39
|
+
"path":"/Components/Service",
|
|
40
|
+
"type":"Service"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"themes": "/Themes",
|
|
44
|
+
"styles": "/Styles",
|
|
45
|
+
"routesFile":"/routes.js"
|
|
46
|
+
},
|
|
47
|
+
"router":{
|
|
48
|
+
"defaultRoute": "/"
|
|
49
|
+
},
|
|
50
|
+
"loading":{
|
|
51
|
+
"enabled": true
|
|
52
|
+
},
|
|
53
|
+
"production": {
|
|
54
|
+
"enabled": false
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
|