Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
altrusl committed Dec 3, 2023
1 parent 4715b97 commit a33ca9f
Show file tree
Hide file tree
Showing 45 changed files with 4,722 additions and 1 deletion.
33 changes: 33 additions & 0 deletions .github/workflows/gp-deploy.yaml
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
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Logs
logs
*.log

node_modules
dist
*.local

# Editor directories and files
#.vscode/*
.idea
.DS_Store

.history
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
trailingComma: "es5"
semi: true
singleQuote: false
printWidth: 110
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# spa-seo
# 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)
28 changes: 28 additions & 0 deletions eslint.config.js
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",
},
});
15 changes: 15 additions & 0 deletions index.html
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>my-vue-project</title>
<!-- service-worker placeholder -->
</head>
<body>
<div id="app" />
<script type="module" src="/src/main.ts"></script>
</body>
</html>
44 changes: 44 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"name": "my-vue-project",
"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"
}
}
Loading

0 comments on commit a33ca9f

Please sign in to comment.