From 4c0aca48fd9515f6923c4ce073b30e6baa461356 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Wed, 26 Feb 2020 00:42:41 +0100 Subject: [PATCH] Add "first time" and "updated" pages templates. --- src/install/first-time/App.vue | 214 ++++++++++++++++++++++++ src/install/first-time/first-time.html | 18 +++ src/install/first-time/first-time.js | 11 ++ src/install/updated/App.vue | 215 +++++++++++++++++++++++++ src/install/updated/first-time.html | 18 +++ src/install/updated/first-time.js | 11 ++ 6 files changed, 487 insertions(+) create mode 100644 src/install/first-time/App.vue create mode 100644 src/install/first-time/first-time.html create mode 100644 src/install/first-time/first-time.js create mode 100644 src/install/updated/App.vue create mode 100644 src/install/updated/first-time.html create mode 100644 src/install/updated/first-time.js diff --git a/src/install/first-time/App.vue b/src/install/first-time/App.vue new file mode 100644 index 0000000..68cf9cf --- /dev/null +++ b/src/install/first-time/App.vue @@ -0,0 +1,214 @@ + + + + + + + + + + diff --git a/src/install/first-time/first-time.html b/src/install/first-time/first-time.html new file mode 100644 index 0000000..c66736c --- /dev/null +++ b/src/install/first-time/first-time.html @@ -0,0 +1,18 @@ + + + + + Title + + + <% if (NODE_ENV === 'development') { %> + + <% } %> + + +
+ +
+ + + diff --git a/src/install/first-time/first-time.js b/src/install/first-time/first-time.js new file mode 100644 index 0000000..b3688db --- /dev/null +++ b/src/install/first-time/first-time.js @@ -0,0 +1,11 @@ +import Vue from 'vue' +import App from './App' + +// global.browser = require('webextension-polyfill') +// Vue.prototype.$browser = global.browser + +/* eslint-disable no-new */ +new Vue({ + el: '#app', + render: h => h(App) +}) diff --git a/src/install/updated/App.vue b/src/install/updated/App.vue new file mode 100644 index 0000000..fc71851 --- /dev/null +++ b/src/install/updated/App.vue @@ -0,0 +1,215 @@ + + + + + + + + + + diff --git a/src/install/updated/first-time.html b/src/install/updated/first-time.html new file mode 100644 index 0000000..c66736c --- /dev/null +++ b/src/install/updated/first-time.html @@ -0,0 +1,18 @@ + + + + + Title + + + <% if (NODE_ENV === 'development') { %> + + <% } %> + + +
+ +
+ + + diff --git a/src/install/updated/first-time.js b/src/install/updated/first-time.js new file mode 100644 index 0000000..b3688db --- /dev/null +++ b/src/install/updated/first-time.js @@ -0,0 +1,11 @@ +import Vue from 'vue' +import App from './App' + +// global.browser = require('webextension-polyfill') +// Vue.prototype.$browser = global.browser + +/* eslint-disable no-new */ +new Vue({ + el: '#app', + render: h => h(App) +})