Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Style Guide 2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Weby
Style Guide 2
Commits
6194fb6a
Commit
6194fb6a
authored
Nov 18, 2022
by
Štěpán Farka
Browse files
Options
Downloads
Patches
Plain Diff
[ADD] vite config for production & coursel css
parent
94b00faa
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
majak_uistyleguide/templates/patterns/molecules/menus/carousel.html
+3
-3
3 additions, 3 deletions
...yleguide/templates/patterns/molecules/menus/carousel.html
src/css/molecules/carousels.pcss
+1
-1
1 addition, 1 deletion
src/css/molecules/carousels.pcss
vite.config.js
+4
-2
4 additions, 2 deletions
vite.config.js
with
8 additions
and
6 deletions
majak_uistyleguide/templates/patterns/molecules/menus/carousel.html
+
3
−
3
View file @
6194fb6a
...
@@ -8,9 +8,9 @@
...
@@ -8,9 +8,9 @@
<h1
class=
"text-white"
>
{{ content.label_first }}
</h1>
<h1
class=
"text-white"
>
{{ content.label_first }}
</h1>
<h1
class=
"text-yellow-500 mb-2"
>
{{ content.label_second }}
</h1>
<h1
class=
"text-yellow-500 mb-2"
>
{{ content.label_second }}
</h1>
<a
href=
"#"
class=
"btn btn--white btn--to-grey-175 btn--hoveractive uppercase"
>
<a
href=
"#"
class=
"btn btn--white btn--to-grey-175 btn--hoveractive uppercase"
>
<
div
class=
"btn__body-wrap w-
32
h-11"
>
<
span
class=
"btn__body-wrap w-
40
h-11"
>
<
div
class=
"btn__body w-
32
h-11 text-lg xl:text-base xl:w-auto"
>
{{ content.button_text }}
</
div
>
<
span
class=
"btn__body w-
40
h-11 text-lg xl:text-base xl:w-auto"
>
{{ content.button_text }}
</
span
>
</
div
>
</
span
>
</a>
</a>
</div>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/css/molecules/carousels.pcss
+
1
−
1
View file @
6194fb6a
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
top: 30%;
top: 30%;
}
}
@screen 2xl {
@screen 2xl {
margin-left: 1
5
%;
margin-left: 1
0
%;
top: 40%;
top: 40%;
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
vite.config.js
+
4
−
2
View file @
6194fb6a
...
@@ -17,7 +17,7 @@ export default defineConfig({
...
@@ -17,7 +17,7 @@ export default defineConfig({
},
},
resolve
:
{
resolve
:
{
alias
:
{
alias
:
{
vue
:
'
vue/dist/vue.js
'
vue
:
process
.
env
.
NODE_ENV
===
'
production
'
?
'
vue/dist/vue.min.js
'
:
'
vue/dist/vue.js
'
},
},
extensions
:
[
'
.js
'
,
'
.json
'
,
'
.vue
'
],
extensions
:
[
'
.js
'
,
'
.json
'
,
'
.vue
'
],
},
},
...
@@ -32,7 +32,9 @@ export default defineConfig({
...
@@ -32,7 +32,9 @@ export default defineConfig({
main
:
resolve
(
'
./src/js/main.js
'
)
main
:
resolve
(
'
./src/js/main.js
'
)
},
},
output
:
{
output
:
{
chunkFileNames
:
undefined
,
entryFileNames
:
`main/[name].js`
,
chunkFileNames
:
`main/[name].js`
,
assetFileNames
:
`main/[name].[ext]`
},
},
},
},
},
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment