Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(.starters): import alpine-starter into
.starters/default
(#135)
(merging with broken CI expected)
- Loading branch information
Showing
101 changed files
with
1,754 additions
and
1,642 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
node_modules | ||
*.iml | ||
.idea | ||
*.log* | ||
.nuxt | ||
.vscode | ||
.DS_Store | ||
coverage | ||
dist | ||
sw.* | ||
.env | ||
.output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
shamefully-hoist=true | ||
strict-peer-dependencies=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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!' | ||
} | ||
} | ||
}) |
Oops, something went wrong.