Skip to content

Commit

Permalink
upgrade to use vue3, vite and vuetify
Browse files Browse the repository at this point in the history
  • Loading branch information
jspanchu committed Oct 26, 2023
1 parent 6791c73 commit ba7a82f
Show file tree
Hide file tree
Showing 78 changed files with 3,988 additions and 19,765 deletions.
4 changes: 4 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
> 1%
last 2 versions
not dead
not ie 11
5 changes: 5 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[*.{js,jsx,ts,tsx,vue}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
14 changes: 14 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
root: true,
env: {
node: true,
},
extends: [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/eslint-config-typescript',
],
rules: {
'vue/multi-word-component-names': 'off',
},
}
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,14 @@ jobs:
- name: Build
run: |
npm install
npm run build-wasm
npm run build
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: './static/'
path: './dist/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
37 changes: 28 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,28 @@
node_modules/
static/
Cones/out
Cones/src/ConesViewer.js
Cones/node_modules/
ConesJS/node_modules/
GeometryViewer/out
GeometryViewer/src/GeometryViewer.js
GeometryViewer/node_modules
.DS_Store
node_modules
/dist

# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?


# Wasm output
out/
src/components/ConesViewer/ConesViewer.js
src/components/GeometryViewer/GeometryViewer.js
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
cmake_minimum_required(VERSION 3.13)
project(ConesViewer)

set(VUE_COMPONENTS_DIR "${PROJECT_SOURCE_DIR}/src/components")

add_subdirectory("cpp/ConesViewer")
add_subdirectory("cpp/GeometryViewer")
Loading

0 comments on commit ba7a82f

Please sign in to comment.