Skip to content

Commit

Permalink
Merge pull request #1 from iturgeon/dev/v2
Browse files Browse the repository at this point in the history
Version 2 - Standalone Vue Interface
  • Loading branch information
iturgeon authored Jan 23, 2022
2 parents e8008d4 + 60f7136 commit 05d704a
Show file tree
Hide file tree
Showing 12 changed files with 9,483 additions and 429 deletions.
23 changes: 22 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,23 @@
.DS_Store
node_modules
yarn-error.log
/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?
5 changes: 5 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
]
}
60 changes: 49 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,61 @@
{
"name": "random-lti-launcher",
"version": "1.0.0",
"description": "Provides a quick way to launch demo users into an LTI tool",
"main": "src/index.js",
"author": "Ian Turgeon",
"license": "MIT",
"private": false,
"engines": {
"yarn": "^1.0.0",
"node": "^16.0.0"
},
"description": "Provides a quick way to launch demo users into an LTI tool",
"author": {
"name": "Ian Turgeon"
},
"scripts": {
"dev": "DEBUG=lti-launcher:info vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"start": "node src/index.js",
"dev": "DEBUG=lti-launcher:info KEY_JSON='{\"url-without-protocol-or-trailing-slash.com\":{\"key\":\"lti-key\",\"secret\":\"lti-secret\"}}' node src/index.js"
"publish-ghpages": "push-dir --dir=dist --branch=gh-pages"
},
"main": "src/index.js",
"dependencies": {
"body-parser": "^1.19.0",
"core-js": "^3.6.5",
"debug-logger": "^0.4.1",
"express": "^4.17.1",
"oauth-signature": "^1.5.0"
}
"oauth-signature": "^1.5.0",
"push-dir": "^0.4.1",
"vue": "^3.0.0"
},
"devDependencies": {
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-eslint": "~4.5.0",
"@vue/cli-service": "~4.5.0",
"@vue/compiler-sfc": "^3.0.0",
"babel-eslint": "^10.1.0",
"eslint": "^6.7.2",
"eslint-plugin-vue": "^7.0.0"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/vue3-essential",
"eslint:recommended"
],
"parserOptions": {
"parser": "babel-eslint"
},
"rules": {}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
],
"_id": "[email protected]",
"engines": {
"yarn": "^1.0.0",
"node": "^16.0.0"
},
"license": "MIT",
"readme": "ERROR: No README data found!"
}
Binary file added public/favicon.ico
Binary file not shown.
17 changes: 17 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title><%= htmlWebpackPlugin.options.title %></title>
</head>
<body>
<noscript>
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>
25 changes: 25 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<template>
<LaunchPad msg="Welcome to Your Vue.js App"/>
</template>

<script>
import LaunchPad from './components/LaunchPad.vue'
export default {
name: 'App',
components: {
LaunchPad
}
}
</script>

<style>
#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
margin-top: 60px;
}
</style>
Loading

0 comments on commit 05d704a

Please sign in to comment.