diff --git a/zero.Web.UI/.browserslistrc b/zero.Web.UI/.browserslistrc deleted file mode 100644 index 214388fe..00000000 --- a/zero.Web.UI/.browserslistrc +++ /dev/null @@ -1,3 +0,0 @@ -> 1% -last 2 versions -not dead diff --git a/zero.Web.UI/babel.config.js b/zero.Web.UI/babel.config.js index e9558405..a6ef69e0 100644 --- a/zero.Web.UI/babel.config.js +++ b/zero.Web.UI/babel.config.js @@ -2,4 +2,4 @@ module.exports = { presets: [ '@vue/cli-plugin-babel/preset' ] -} +} \ No newline at end of file diff --git a/zero.Web.UI/package-base.json b/zero.Web.UI/package-base.json deleted file mode 100644 index 1354b83b..00000000 --- a/zero.Web.UI/package-base.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - // TODO - // create tool which installs node, npm + other global dependencies (npm-deps(1)) needed to run the application - // (see umbraco for details) - // maybe this can be done via the create dotnet-tool - - "name": "zero", - "version": "0.1.0", - "private": true, - "scripts": { - "install": "", - "serve": "vue-cli-service serve", - "build": "vue-cli-service build", - "build-dev": "vue-cli-service build --mode development", - "watch": "vue-cli-service build --mode development --watch" - }, - "dependencies": { - "core-js": "^3.6.5", - "axios": "^0.19.2", - "dayjs": "^1.8.26", - "flatpickr": "^4.6.3", - "lodash": "*", - "sortablejs": "^1.10.2", - "underscore": "^1.10.2", - "vue": "^2.6.11", - "vue-router": "^3.2.0" - }, - "devDependencies": { - "@vue/cli-plugin-babel": "~4.5.0", - "@vue/cli-plugin-router": "~4.5.0", - "@vue/cli-service": "~4.5.0", - "sass": "^1.26.5", - "sass-loader": "^8.0.2", - "syncpack": "^5.6.10", - "vue-template-compiler": "^2.6.11" - } -} diff --git a/zero.Web.UI/vue.config.js b/zero.Web.UI/vue.config.js deleted file mode 100644 index 41b54601..00000000 --- a/zero.Web.UI/vue.config.js +++ /dev/null @@ -1,46 +0,0 @@ - -//console.log(process.env); -// TODO -// maybe we can make an HTTP request here to get plugin paths and install them -// as well as set other fields in config as aliases. - -module.exports = { - - // disable hashes in filenames - filenameHashing: false, - - // delete HTML related webpack plugins - chainWebpack: config => - { - config.plugins.delete('html') - config.plugins.delete('preload') - config.plugins.delete('prefetch') - }, - - // output path - outputDir: "Assets", - - publicPath: "/zero/vue-cli", - - // generated output - pages: { - app: "app.js" - }, - - devServer: { - sockPath: '/zero/vue-cli/sockjs-node', - public: 'http://localhost:2310/zero/vue-cli' - }, - - // webpack configuration - chainWebpack: config => - { - const path = require('path'); - - config.resolve.alias.set('zero', path.resolve(__dirname, 'App')); - config.resolve.alias.set('zerosetup', path.resolve(__dirname, 'Setup')); - config.resolve.alias.set('@', __dirname); - config.resolve.alias.set('shop', path.resolve(__dirname, '../zero.Commerce/Plugins/zero.Commerce')); - config.resolve.alias.set('deps', path.join(__dirname, 'node_modules')); - } -} diff --git a/zero.Web.UI/zero.run.ps1 b/zero.Web.UI/zero.run.ps1 deleted file mode 100644 index 3a76333d..00000000 --- a/zero.Web.UI/zero.run.ps1 +++ /dev/null @@ -1,14 +0,0 @@ - -param( - # get, don't execute - [Parameter(Mandatory=$false)] - [Alias("g")] - [switch] $get = $false, - - # execute a command - [Parameter(Mandatory=$false, ValueFromRemainingArguments=$true)] - [String[]] - $command -) - -npx vue-cli-service serve \ No newline at end of file