Skip to content

Commit

Permalink
Add vue APP
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnuk committed Aug 9, 2024
1 parent 93b092f commit 259fb9f
Show file tree
Hide file tree
Showing 53 changed files with 792 additions and 141 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: "tsconfig.lint.json",
project: "tsconfig.node.json",
tsconfigRootDir: __dirname,
},
plugins: ['react-refresh', 'prettier'],
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,17 @@ jobs:
env:
CI: true

cypress:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cypress run
uses: cypress-io/github-action@v6
with:
start: npm run vue:component:serve
browser: chrome

status-checks:
name: status-checks
needs: [build]
Expand Down
1 change: 1 addition & 0 deletions config/react/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_FWK=react
1 change: 1 addition & 0 deletions config/vue/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_FWK=vue
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Library using React</title>
<title>Library</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
Loading

0 comments on commit 259fb9f

Please sign in to comment.