-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
45 changed files
with
4,732 additions
and
1 deletion.
There are no files selected for viewing
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,33 @@ | ||
name: Build and Deploy | ||
on: | ||
push: | ||
branches: [main] | ||
workflow_dispatch: | ||
# branches: [ "main", "development" ] | ||
permissions: | ||
contents: write | ||
# pages: write | ||
jobs: | ||
build-and-deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout 🛎️ | ||
uses: actions/checkout@v3 | ||
|
||
- uses: pnpm/action-setup@v2 | ||
name: Install pnpm | ||
id: pnpm-install | ||
with: | ||
version: 8.5.0 | ||
run_install: false | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- run: pnpm build | ||
|
||
- name: Deploy 🚀 | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
with: | ||
folder: dist | ||
branch: gh-pages |
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,7 @@ | ||
# Logs | ||
logs | ||
*.log | ||
.history | ||
node_modules | ||
dist | ||
*.local |
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,4 @@ | ||
trailingComma: "es5" | ||
semi: true | ||
singleQuote: false | ||
printWidth: 110 |
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 |
---|---|---|
@@ -1 +1,5 @@ | ||
# spa-seo-cmv | ||
# Vue webapp template | ||
|
||
Empty NPM package for the purpose of existence `create-vue-webapp` | ||
|
||
Documentation available at [https://github.com/vuesence/vue-webapp](https://github.com/vuesence/vue-webapp) |
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,28 @@ | ||
import antfu from "@antfu/eslint-config"; | ||
|
||
export default antfu({ | ||
ignores: [".vscode/settings.json", ".vscode/settings.json/**", "src/assets/locales/*.json", "src/assets/locales/*.json/**"], | ||
// stylistic: false, | ||
rules: { | ||
"ts/semi": "off", | ||
"curly": ["error", "all"], | ||
"no-console": "off", | ||
"no-alert": "off", | ||
// "ts/brace-style": ["error", "1tbs", { allowSingleLine: true }], | ||
// "ts/brace-style": "off", | ||
"vue/html-self-closing": "off", | ||
"style/semi": ["error", "always"], | ||
"style/indent": 2, // 4, or 'tab' | ||
"style/quotes": [ | ||
"error", | ||
"double", | ||
], | ||
"style/brace-style": ["error", "1tbs", { allowSingleLine: true }], | ||
// "style/brace-style": "off", | ||
}, | ||
stylistic: { | ||
// "style/quotes": "double", // or 'single' | ||
// "style/brace-style": "off", | ||
// "object-curly-newline": "off", | ||
}, | ||
}); |
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,15 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link rel="icon" type="image/png" sizes="48x48" href="/assets/images/favicon-32x32.png" /> | ||
<link rel="apple-touch-icon" sizes="180x180" href="/assets/images/apple-touch-icon.png" /> | ||
<title>spa-seo-cmv</title> | ||
<!-- service-worker placeholder --> | ||
</head> | ||
<body> | ||
<div id="app" /> | ||
<script type="module" src="/src/main.ts"></script> | ||
</body> | ||
</html> |
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,44 @@ | ||
{ | ||
"name": "spa-seo-cmv", | ||
"type": "module", | ||
"version": "1.0.3", | ||
"description": "A basic template for building a new Vue 3 web application using the latest technologies and best practices", | ||
"license": "MIT", | ||
"homepage": "https://github.com/vuesence/vue-webapp", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/vuesence/vue-webapp.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/vuesence/vue-webapp/issues" | ||
}, | ||
"keywords": [ | ||
"vue", | ||
"vite", | ||
"website", | ||
"webapp", | ||
"template", | ||
"scaffold" | ||
], | ||
"scripts": { | ||
"dev": "vite", | ||
"build": "vite build", | ||
"build:tsc": "vue-tsc && vite build", | ||
"preview": "vite preview", | ||
"lint": "eslint .", | ||
"lint:fix": "eslint . --fix" | ||
}, | ||
"dependencies": { | ||
"vue": "^3.3.8", | ||
"vue-router": "^4.2.5" | ||
}, | ||
"devDependencies": { | ||
"@antfu/eslint-config": "^2.0.0", | ||
"@types/node": "^20.9.0", | ||
"@vitejs/plugin-vue": "^4.5.0", | ||
"eslint": "^8.53.0", | ||
"sass": "^1.69.5", | ||
"typescript": "^5.2.2", | ||
"vite": "^5.0.0" | ||
} | ||
} |
Oops, something went wrong.