Skip to content

Commit 380182a

Browse files
committed
feat: swap out nuxt 2 boilerplate with nuxt 3 starter
1 parent 1153127 commit 380182a

File tree

248 files changed

+23015
-61480
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

248 files changed

+23015
-61480
lines changed

.eslintignore

-11
This file was deleted.

.eslintrc.js

+17-16
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,19 @@
11
module.exports = {
2-
root: true,
3-
env: {
4-
browser: true,
5-
node: true
6-
},
72
parserOptions: {
8-
parser: '@babel/eslint-parser',
9-
sourceType: 'module',
10-
requireConfigFile: false
3+
ecmaVersion: 'latest'
114
},
125
extends: [
13-
'@nuxtjs',
14-
'plugin:nuxt/recommended',
15-
'plugin:vue/essential',
16-
'plugin:cypress/recommended'
6+
'@nuxt/eslint-config',
7+
'./.nuxt/.eslint.nuxt3-globals.json',
8+
'plugin:vue/essential'
9+
],
10+
ignorePatterns: [
11+
'.nuxt/',
12+
'.output/',
13+
'dist/'
1714
],
18-
// Add your custom rules here
1915
rules: {
20-
indent: ['error', 2, { SwitchCase: 1 }],
2116
'no-console': process.env.NODE_ENV !== 'development' ? 'error' : 'off',
22-
'eol-last': [2, 'always'],
2317
'vue/html-closing-bracket-newline': ['error', {
2418
singleline: 'never',
2519
multiline: 'never'
@@ -37,7 +31,14 @@ module.exports = {
3731
'no-lonely-if': 'off',
3832
'no-new': 'off',
3933
'no-prototype-builtins': 'off',
34+
'promise/param-names': 'off',
4035
'multiline-ternary': 'off',
41-
'vue/multi-word-component-names': 'off'
36+
'vue/multi-word-component-names': 'off',
37+
"vue/max-attributes-per-line": ["error", {
38+
"singleline": {
39+
"max": 3
40+
}
41+
}],
42+
'vue/script-setup-uses-vars': 'error'
4243
}
4344
}

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,4 @@ packages/site/cypress/videos/
103103

104104
# Storybook
105105
.nuxt-storybook
106-
storybook-static
106+
storybook-static

.husky/commit-msg

-4
This file was deleted.

.husky/pre-commit

-4
This file was deleted.

.husky/pre-push

-4
This file was deleted.

.nojekyll

Whitespace-only changes.

.npmrc

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
shamefully-hoist=true
2+
strict-peer-dependencies=false

LICENSE

-21
This file was deleted.

README.md

+4-120

_redirects

-1
This file was deleted.

app.html

-29
This file was deleted.

app.vue

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<template>
2+
<div>
3+
<NuxtLayout>
4+
<NuxtPage />
5+
</NuxtLayout>
6+
</div>
7+
</template>

app/router.scrollBehavior.js

-32
This file was deleted.

assets/fonts/DIN/DIN-Black.otf

27.7 KB
Binary file not shown.

assets/fonts/DIN/DIN-Black.ttf

38.7 KB
Binary file not shown.

assets/fonts/DIN/DIN-BlackItalic.otf

27.1 KB
Binary file not shown.

assets/fonts/DIN/DIN-Bold.otf

28 KB
Binary file not shown.

assets/fonts/DIN/DIN-Bold.ttf

39 KB
Binary file not shown.

assets/fonts/DIN/DIN-BoldItalic.otf

27.5 KB
Binary file not shown.

assets/fonts/DIN/DIN-Light.otf

26.9 KB
Binary file not shown.

assets/fonts/DIN/DIN-Light.ttf

28.3 KB
Binary file not shown.

assets/fonts/DIN/DIN-LightItalic.otf

27 KB
Binary file not shown.

assets/fonts/DIN/DIN-Medium.otf

27.2 KB
Binary file not shown.

assets/fonts/DIN/DIN-Medium.ttf

28.3 KB
Binary file not shown.
27.9 KB
Binary file not shown.
38.9 KB
Binary file not shown.

assets/fonts/DIN/DIN-MediumItalic.otf

27.7 KB
Binary file not shown.

assets/fonts/DIN/DIN-Regular.otf

26.8 KB
Binary file not shown.

assets/fonts/DIN/DIN-Regular.ttf

43.8 KB
Binary file not shown.
27 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.

assets/scss/block.scss

-28
This file was deleted.

assets/scss/core/core.scss

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/**
2+
* This file should only contain imports and stable, portable and long-lasting
3+
* SCSS declarations.
4+
*/
5+
6+
//////////////////////////////////////////////////////////////////////// Imports
7+
//------------------------------------------------------------------------------
8+
@import 'normalize';
9+
@import 'grid/gridlex-2.7.1';
10+
@import 'reset';
11+
@import 'layout-grid';
12+
13+
//////////////////////////////////////////////////////////////////////// General
14+
//------------------------------------------------------------------------------
15+
html,
16+
body {
17+
&.no-scroll {
18+
overflow-y: hidden;
19+
}
20+
&.no-cursor {
21+
cursor: none;
22+
}
23+
}
File renamed without changes.
File renamed without changes.

assets/scss/grid/gridlex-vars.scss assets/scss/core/grid/gridlex-vars.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ $gl-mq-width: 'max-width' !default;
1212
$gl-mq-list: (
1313
ulg: 140.625rem, // 2250px
1414
xlg: 90rem, // 1440px
15-
lg: 85rem, // 1360px
15+
lg: 75rem, // 1200px
1616
md: 64rem, // 1024px
1717
sm: 53.125rem, // 850px
1818
mi: 40rem, // 640px

0 commit comments

Comments
 (0)