Skip to content

Commit 41f5ea5

Browse files
committed
chore: first setup
0 parents  commit 41f5ea5

Some content is hidden

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

41 files changed

+13700
-0
lines changed

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_size = 2
6+
indent_style = space
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.md]
13+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 217 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,217 @@
1+
## GITATTRIBUTES FOR WEB PROJECTS
2+
#
3+
# These settings are for any web project.
4+
#
5+
# Details per file setting:
6+
# text These files should be normalized (i.e. convert CRLF to LF).
7+
# binary These files are binary and should be left untouched.
8+
#
9+
# Note that binary is a macro for -text -diff.
10+
######################################################################
11+
12+
# Auto detect
13+
## Handle line endings automatically for files detected as
14+
## text and leave all files detected as binary untouched.
15+
## This will handle all files NOT defined below.
16+
* text=auto
17+
18+
# Source code
19+
*.bash text eol=lf
20+
*.bat text eol=crlf
21+
*.cmd text eol=crlf
22+
*.coffee text
23+
*.css text diff=css
24+
*.htm text diff=html
25+
*.html text diff=html
26+
*.inc text
27+
*.ini text
28+
*.js text
29+
*.mjs text
30+
*.cjs text
31+
*.json text
32+
*.jsx text
33+
*.less text
34+
*.ls text
35+
*.map text -diff
36+
*.od text
37+
*.onlydata text
38+
*.php text diff=php
39+
*.pl text
40+
*.ps1 text eol=crlf
41+
*.py text diff=python
42+
*.rb text diff=ruby
43+
*.sass text
44+
*.scm text
45+
*.scss text diff=css
46+
*.sh text eol=lf
47+
.husky/* text eol=lf
48+
*.sql text
49+
*.styl text
50+
*.tag text
51+
*.ts text
52+
*.tsx text
53+
*.xml text
54+
*.xhtml text diff=html
55+
56+
# Docker
57+
Dockerfile text
58+
59+
# Documentation
60+
*.ipynb text eol=lf
61+
*.markdown text diff=markdown
62+
*.md text diff=markdown
63+
*.mdwn text diff=markdown
64+
*.mdown text diff=markdown
65+
*.mkd text diff=markdown
66+
*.mkdn text diff=markdown
67+
*.mdtxt text
68+
*.mdtext text
69+
*.txt text
70+
AUTHORS text
71+
CHANGELOG text
72+
CHANGES text
73+
CONTRIBUTING text
74+
COPYING text
75+
copyright text
76+
*COPYRIGHT* text
77+
INSTALL text
78+
license text
79+
LICENSE text
80+
NEWS text
81+
readme text
82+
*README* text
83+
TODO text
84+
85+
# Templates
86+
*.dot text
87+
*.ejs text
88+
*.erb text
89+
*.haml text
90+
*.handlebars text
91+
*.hbs text
92+
*.hbt text
93+
*.jade text
94+
*.latte text
95+
*.mustache text
96+
*.njk text
97+
*.phtml text
98+
*.svelte text
99+
*.tmpl text
100+
*.tpl text
101+
*.twig text
102+
*.vue text
103+
104+
# Configs
105+
*.cnf text
106+
*.conf text
107+
*.config text
108+
.editorconfig text
109+
*.env text
110+
.gitattributes text
111+
.gitconfig text
112+
.htaccess text
113+
*.lock text -diff
114+
package.json text eol=lf
115+
package-lock.json text eol=lf -diff
116+
pnpm-lock.yaml text eol=lf -diff
117+
.prettierrc text
118+
yarn.lock text -diff
119+
*.toml text
120+
*.yaml text
121+
*.yml text
122+
browserslist text
123+
Makefile text
124+
makefile text
125+
# Fixes syntax highlighting on GitHub to allow comments
126+
tsconfig.json linguist-language=JSON-with-Comments
127+
128+
# Heroku
129+
Procfile text
130+
131+
# Graphics
132+
*.ai binary
133+
*.bmp binary
134+
*.eps binary
135+
*.gif binary
136+
*.gifv binary
137+
*.ico binary
138+
*.jng binary
139+
*.jp2 binary
140+
*.jpg binary
141+
*.jpeg binary
142+
*.jpx binary
143+
*.jxr binary
144+
*.pdf binary
145+
*.png binary
146+
*.psb binary
147+
*.psd binary
148+
# SVG treated as an asset (binary) by default.
149+
*.svg text
150+
# If you want to treat it as binary,
151+
# use the following line instead.
152+
# *.svg binary
153+
*.svgz binary
154+
*.tif binary
155+
*.tiff binary
156+
*.wbmp binary
157+
*.webp binary
158+
159+
# Audio
160+
*.kar binary
161+
*.m4a binary
162+
*.mid binary
163+
*.midi binary
164+
*.mp3 binary
165+
*.ogg binary
166+
*.ra binary
167+
168+
# Video
169+
*.3gpp binary
170+
*.3gp binary
171+
*.as binary
172+
*.asf binary
173+
*.asx binary
174+
*.avi binary
175+
*.fla binary
176+
*.flv binary
177+
*.m4v binary
178+
*.mng binary
179+
*.mov binary
180+
*.mp4 binary
181+
*.mpeg binary
182+
*.mpg binary
183+
*.ogv binary
184+
*.swc binary
185+
*.swf binary
186+
*.webm binary
187+
188+
# Archives
189+
*.7z binary
190+
*.gz binary
191+
*.jar binary
192+
*.rar binary
193+
*.tar binary
194+
*.zip binary
195+
196+
# Fonts
197+
*.ttf binary
198+
*.eot binary
199+
*.otf binary
200+
*.woff binary
201+
*.woff2 binary
202+
203+
# Executables
204+
*.exe binary
205+
*.pyc binary
206+
# Prevents massive diffs caused by vendored, minified files
207+
**/.yarn/releases/** binary
208+
**/.yarn/plugins/** binary
209+
210+
# RC files (like .babelrc or .eslintrc)
211+
*.*rc text
212+
213+
# Ignore files (like .npmignore or .gitignore)
214+
*.*ignore text
215+
216+
# Prevents massive diffs from built files
217+
dist/** binary

.github/workflows/ci.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: ci
2+
3+
on: push
4+
5+
jobs:
6+
ci:
7+
runs-on: ${{ matrix.os }}
8+
9+
strategy:
10+
matrix:
11+
os: [ubuntu-latest]
12+
node: [22]
13+
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v6
17+
18+
- name: Install pnpm
19+
uses: pnpm/action-setup@v4
20+
21+
- name: Install node
22+
uses: actions/setup-node@v6
23+
with:
24+
node-version: ${{ matrix.node }}
25+
cache: pnpm
26+
27+
- name: Install dependencies
28+
run: pnpm install
29+
30+
- name: Lint
31+
run: pnpm run lint
32+
33+
- name: Typecheck
34+
run: pnpm run typecheck

.gitignore

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Nuxt dev/build outputs
2+
.output
3+
.data
4+
.nuxt
5+
.nitro
6+
.cache
7+
dist
8+
9+
# Node dependencies
10+
node_modules
11+
12+
# Logs
13+
logs
14+
*.log
15+
16+
# Misc
17+
.DS_Store
18+
.fleet
19+
.idea
20+
21+
# Local env files
22+
.env
23+
.env.*
24+
!.env.example
25+
26+
# Test coverage
27+
coverage/
28+
29+
# Playwright
30+
playwright-report/
31+
test-results/

.husky/install.mjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Skip Husky install in production and CI
2+
if (process.env.NODE_ENV === "production" || process.env.CI === "true") {
3+
process.exit(0);
4+
}
5+
const husky = (await import("husky")).default;
6+
// eslint-disable-next-line no-console
7+
console.log(husky());

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pnpm lint-staged

.nuxtrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
setups.@nuxt/test-utils="3.23.0"

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 Nuxt UI Templates
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Nuxt Starter Template
2+
3+
[![Nuxt UI](https://img.shields.io/badge/Made%20with-Nuxt%20UI-00DC82?logo=nuxt&labelColor=020420)](https://ui.nuxt.com)
4+
5+
Use this template to get started with [Nuxt UI](https://ui.nuxt.com) quickly.
6+
7+
- [Live demo](https://starter-template.nuxt.dev/)
8+
- [Documentation](https://ui.nuxt.com/docs/getting-started/installation/nuxt)
9+
10+
<a href="https://starter-template.nuxt.dev/" target="_blank">
11+
<picture>
12+
<source media="(prefers-color-scheme: dark)" srcset="https://ui.nuxt.com/assets/templates/nuxt/starter-dark.png">
13+
<source media="(prefers-color-scheme: light)" srcset="https://ui.nuxt.com/assets/templates/nuxt/starter-light.png">
14+
<img alt="Nuxt Starter Template" src="https://ui.nuxt.com/assets/templates/nuxt/starter-light.png">
15+
</picture>
16+
</a>
17+
18+
> The starter template for Vue is on https://github.com/nuxt-ui-templates/starter-vue.
19+
20+
## Quick Start
21+
22+
```bash [Terminal]
23+
npm create nuxt@latest -- -t github:nuxt-ui-templates/starter
24+
```
25+
26+
## Deploy your own
27+
28+
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-name=starter&repository-url=https%3A%2F%2Fgithub.com%2Fnuxt-ui-templates%2Fstarter&demo-image=https%3A%2F%2Fui.nuxt.com%2Fassets%2Ftemplates%2Fnuxt%2Fstarter-dark.png&demo-url=https%3A%2F%2Fstarter-template.nuxt.dev%2F&demo-title=Nuxt%20Starter%20Template&demo-description=A%20minimal%20template%20to%20get%20started%20with%20Nuxt%20UI.)
29+
30+
## Setup
31+
32+
Make sure to install the dependencies:
33+
34+
```bash
35+
pnpm install
36+
```
37+
38+
## Development Server
39+
40+
Start the development server on `http://localhost:3000`:
41+
42+
```bash
43+
pnpm dev
44+
```
45+
46+
## Production
47+
48+
Build the application for production:
49+
50+
```bash
51+
pnpm build
52+
```
53+
54+
Locally preview production build:
55+
56+
```bash
57+
pnpm preview
58+
```
59+
60+
Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.

0 commit comments

Comments
 (0)