Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
zhilyaev authored Oct 31, 2022
0 parents commit f4e3916
Show file tree
Hide file tree
Showing 100 changed files with 15,765 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
components.d.ts
nuxt.d.ts
dist
.nuxt
.output
17 changes: 17 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"root": true,
"env": {
"browser": true,
"node": true
},
"extends": [
"@nuxtjs/eslint-config-typescript",
"plugin:nuxt/recommended",
"plugin:prettier/recommended"
],
"plugins": [],
"rules": {
"vue/multi-word-component-names": "off",
"vue/no-multiple-template-root": "off"
}
}
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
*.log
nuxt.d.ts

# private config
.env

# deps
node_modules

# build or generate
.nuxt
dist
.output

# IDE
.idea
.vercel
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit ""
4 changes: 4 additions & 0 deletions .husky/post-merge
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pnpm install
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pnpm lint-staged --no-stash
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"semi": false,
"singleQuote": true
}
4 changes: 4 additions & 0 deletions .stackblitzrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"installDependencies": true,
"startCommand": "npm run dev"
}
6 changes: 6 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"recommendations": [
"Vue.volar",
"Nuxt.mdc"
]
}
17 changes: 17 additions & 0 deletions .vscode/markdown.code-snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"Generate Nuxt 3 Content": {
"prefix": "n3:content",
"body": [
"---",
"title: '${1:${CONTENT_TITLE}}'",
"description: '${2:${CONTENT_DESCRIPTION}}'",
"date: '${3:${CONTENT_DATE}}'",
"author: '${4:${CONTENT_AUTHOR}}'",
"---",
"",
"${5:${CONTENT_BODY}}",
""
],
"description": "Generate Nuxt 3 Content"
}
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"editor.tabSize": 2
}
31 changes: 31 additions & 0 deletions .vscode/vue.code-snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"Generate Nuxt 3 Page": {
"prefix": "n3:page",
"body": [
"<script lang=\"ts\" setup>",
"// compiler macro",
"definePageMeta({",
" layout: 'page',",
"})",
"useHead(() => ({",
" title: ${1:${PAGE_TITLE}},",
"}))",
"</script>",
"",
"<template>",
" <PageWrapper>",
" <PageHeader>",
" <PageTitle text=\"${1:${PAGE_TITLE}}\" class=\"capitalize\" />",
" </PageHeader>",
" <PageBody>",
" <PageSection>",
" <div>${2:${PAGE_BODY}}</div>",
" </PageSection>",
" </PageBody>",
" </PageWrapper>",
"</template>",
""
],
"description": "Generate Nuxt 3 Page"
}
}
21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2022 Alfian Dwi Nugraha

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading

0 comments on commit f4e3916

Please sign in to comment.