Skip to content

Commit

Permalink
feat(.starters): import alpine-starter into .starters/default (#135)
Browse files Browse the repository at this point in the history
(merging with broken CI expected)
  • Loading branch information
Tahul committed May 11, 2023
1 parent a10faee commit 8a64f9d
Show file tree
Hide file tree
Showing 101 changed files with 1,754 additions and 1,642 deletions.
10 changes: 0 additions & 10 deletions .docs/app.config.ts

This file was deleted.

15 changes: 0 additions & 15 deletions .docs/nuxt.config.ts

This file was deleted.

226 changes: 0 additions & 226 deletions .docs/public/css/supreme.css

This file was deleted.

Binary file removed .docs/public/fonts/Supreme-Bold.eot
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Bold.ttf
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Bold.woff
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Bold.woff2
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-BoldItalic.eot
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-BoldItalic.ttf
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-BoldItalic.woff
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-BoldItalic.woff2
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Extrabold.eot
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Extrabold.ttf
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Extrabold.woff
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Extrabold.woff2
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-ExtraboldItalic.eot
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-ExtraboldItalic.ttf
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-ExtraboldItalic.woff
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-ExtraboldItalic.woff2
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Extralight.eot
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Extralight.ttf
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Extralight.woff
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Extralight.woff2
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-ExtralightItalic.eot
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-ExtralightItalic.ttf
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-ExtralightItalic.woff
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-ExtralightItalic.woff2
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Italic.eot
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Italic.ttf
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Italic.woff
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Italic.woff2
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Light.eot
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Light.ttf
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Light.woff
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Light.woff2
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-LightItalic.eot
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-LightItalic.ttf
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-LightItalic.woff
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-LightItalic.woff2
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Medium.eot
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Medium.ttf
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Medium.woff
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Medium.woff2
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-MediumItalic.eot
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-MediumItalic.ttf
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-MediumItalic.woff
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-MediumItalic.woff2
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Regular.eot
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Regular.ttf
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Regular.woff
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Regular.woff2
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Thin.eot
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Thin.ttf
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Thin.woff
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Thin.woff2
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-ThinItalic.eot
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-ThinItalic.ttf
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-ThinItalic.woff
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-ThinItalic.woff2
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Variable.eot
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Variable.ttf
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Variable.woff
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-Variable.woff2
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-VariableItalic.eot
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-VariableItalic.ttf
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-VariableItalic.woff
Binary file not shown.
Binary file removed .docs/public/fonts/Supreme-VariableItalic.woff2
Binary file not shown.
2 changes: 0 additions & 2 deletions .docs/public/robots.txt

This file was deleted.

7 changes: 0 additions & 7 deletions .docs/tokens.config.ts

This file was deleted.

5 changes: 5 additions & 0 deletions .gitignore
Expand Up @@ -19,3 +19,8 @@ dist
# VSCode
.vscode/
tailwind.config.js.local

# Starters lockfiles
.starters/**/yarn.lock
.starters/**/package-lock.json
.starters/**/pnpm-lock.yaml
12 changes: 12 additions & 0 deletions .starters/default/.gitignore
@@ -0,0 +1,12 @@
node_modules
*.iml
.idea
*.log*
.nuxt
.vscode
.DS_Store
coverage
dist
sw.*
.env
.output
2 changes: 2 additions & 0 deletions .starters/default/.npmrc
@@ -0,0 +1,2 @@
shamefully-hoist=true
strict-peer-dependencies=false
57 changes: 57 additions & 0 deletions .starters/default/README.md
@@ -0,0 +1,57 @@
# Alpine Starter

Starter template for [Alpine](https://alpine.nuxt.space).

## Clone

Clone the repository (using `nuxi`):

```bash
npx nuxi init -t themes/alpine
```

## Setup

Install dependencies:

```bash
pnpm install
```

## Development

```bash
pnpm dev
```

## Edge Side Rendering

Can be deployed to Vercel Functions, Netlify Functions, AWS, and most Node-compatible environments.

Look at all the available presets [here](https://v3.nuxtjs.org/guide/deploy/presets).

```bash
pnpm build
```

## Static Generation

Use the `generate` command to build your application.

The HTML files will be generated in the .output/public directory and ready to be deployed to any static compatible hosting.

```bash
pnpm generate
```

## Preview build

You might want to preview the result of your build locally, to do so, run the following command:

```bash
pnpm preview
```

---

For a detailed explanation of how things work, check out [Alpine](https://alpine.nuxt.space).
41 changes: 41 additions & 0 deletions .starters/default/app.config.ts
@@ -0,0 +1,41 @@
export default defineAppConfig({
alpine: {
title: 'Alpine',
description: 'The minimalist blog theme',
image: {
src: '/social-card-preview.png',
alt: 'An image showcasing my project.',
width: 400,
height: 300
},
header: {
position: 'right', // possible value are : | 'left' | 'center' | 'right'
logo: {
path: '/logo.svg', // path of the logo
pathDark: '/logo-dark.svg', // path of the logo in dark mode, leave this empty if you want to use the same logo
alt: 'alpine' // alt of the logo
}
},
footer: {
credits: {
enabled: true, // possible value are : true | false
repository: 'https://www.github.com/nuxt-themes/alpine' // our github repository
},
navigation: true, // possible value are : true | false
alignment: 'center', // possible value are : 'none' | 'left' | 'center' | 'right'
message: 'Follow me on' // string that will be displayed in the footer (leave empty or delete to disable)
},
socials: {
twitter: 'nuxtlabs',
instagram: 'atinuxt',
linkedin: {
icon: 'uil:linkedin',
label: 'LinkedIn',
href: 'https://www.linkedin.com/company/nuxtlabs'
}
},
form: {
successMessage: 'Message sent. Thank you!'
}
}
})

0 comments on commit 8a64f9d

Please sign in to comment.