Skip to content

Commit 9bd0d66

Browse files
authored
feat: nuxt3 (#273)
1 parent 28e06a5 commit 9bd0d66

Some content is hidden

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

69 files changed

+16755
-30925
lines changed

.eslintrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"root": true,
3+
"extends": ["@nuxtjs/eslint-config-typescript"],
4+
"rules": {
5+
"vue/multi-word-component-names": "off",
6+
"vue/no-multiple-template-root": "off",
7+
"no-redeclare": "off",
8+
"import/named": "off"
9+
}
10+
}

.eslintrc.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- main
8+
pull_request:
9+
branches:
10+
- master
11+
- main
12+
13+
jobs:
14+
test:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v3
18+
- uses: actions/setup-node@v3
19+
with:
20+
node-version: '16'
21+
- uses: pnpm/action-setup@v2.2.4
22+
name: Install pnpm
23+
id: pnpm-install
24+
with:
25+
version: 7
26+
- run: pnpm install
27+
- run: pnpm dev:prepare
28+
- run: pnpm lint
29+
- run: pnpm build
30+
- run: pnpm test
31+
- name: Coverage
32+
uses: codecov/codecov-action@v1

.github/workflows/test.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
shamefully-hoist=true
2+
strict-peer-dependencies=false

build.config.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

docs/.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
shamefully-hoist=true
2+
strict-peer-dependencies=false

docs/app.config.ts

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
export default defineAppConfig({
2+
docus: {
3+
title: 'Nuxt SVG Sprite',
4+
layout: 'default',
5+
url: 'https://github.com/nuxt-community/svg-sprite-module',
6+
description: 'Optimized and Easy way to use SVG files in Nuxt.js',
7+
socials: {
8+
twitter: 'nuxt_js',
9+
github: 'nuxt-community/svg-sprite-module'
10+
},
11+
aside: {
12+
level: 1
13+
},
14+
image: '/cover.jpg',
15+
header: {
16+
logo: false
17+
},
18+
footer: {
19+
credits: {
20+
icon: 'IconDocus',
21+
text: 'Powered by Docus',
22+
href: 'https://docus.com'
23+
},
24+
iconLinks: [
25+
{
26+
label: 'Nuxt',
27+
href: 'https://nuxt.com',
28+
icon: 'IconNuxt'
29+
},
30+
{
31+
label: 'Vue Telescope',
32+
href: 'https://vuetelescope.com',
33+
icon: 'IconVueTelescope'
34+
}
35+
]
36+
}
37+
}
38+
})
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)