Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change enables linting for the Vuetify proof of concept code and fixes the linting errors that were detected. Additionally, it migrates the Vuetify components to the composition API. Change-Id: Id8cc083954e3f4cb66a00ad2715a96c8747b592c
- Loading branch information
Showing
53 changed files
with
2,958 additions
and
3,205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,5 @@ dist | |
dist_vuetify_poc | ||
node_modules | ||
coverage | ||
tests/unit/ignore | ||
static/wasm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,53 @@ | ||
// Copyright (C) 2023 Storj Labs, Inc. | ||
// See LICENSE for copying information. | ||
|
||
// Plugins | ||
import vue from '@vitejs/plugin-vue' | ||
import vuetify, { transformAssetUrls } from 'vite-plugin-vuetify' | ||
import { fileURLToPath, URL } from 'node:url'; | ||
|
||
// Utilities | ||
import { defineConfig } from 'vite' | ||
import { fileURLToPath, URL } from 'node:url' | ||
import vue from '@vitejs/plugin-vue'; | ||
import vuetify, { transformAssetUrls } from 'vite-plugin-vuetify'; | ||
import { defineConfig } from 'vite'; | ||
|
||
// https://vitejs.dev/config/ | ||
export default defineConfig({ | ||
base: '/static/dist_vuetify_poc', | ||
plugins: [ | ||
vue({ | ||
template: { transformAssetUrls } | ||
}), | ||
// https://github.com/vuetifyjs/vuetify-loader/tree/next/packages/vite-plugin | ||
vuetify({ | ||
autoImport: true, | ||
styles: { | ||
configFile: 'vuetify-poc/src/styles/settings.scss', | ||
}, | ||
}), | ||
], | ||
define: { 'process.env': {} }, | ||
resolve: { | ||
alias: { | ||
'@': fileURLToPath(new URL('./src', import.meta.url)), | ||
'@poc': fileURLToPath(new URL('./vuetify-poc/src', import.meta.url)), | ||
}, | ||
extensions: [ | ||
'.js', | ||
'.json', | ||
'.jsx', | ||
'.mjs', | ||
'.ts', | ||
'.tsx', | ||
'.vue', | ||
base: '/static/dist_vuetify_poc', | ||
plugins: [ | ||
vue({ | ||
template: { transformAssetUrls }, | ||
}), | ||
// https://github.com/vuetifyjs/vuetify-loader/tree/next/packages/vite-plugin | ||
vuetify({ | ||
autoImport: true, | ||
styles: { | ||
configFile: 'vuetify-poc/src/styles/settings.scss', | ||
}, | ||
}), | ||
], | ||
}, | ||
build: { | ||
outDir: fileURLToPath(new URL('dist_vuetify_poc', import.meta.url)), | ||
emptyOutDir: true, | ||
rollupOptions: { | ||
input: { | ||
'vuetify-poc': fileURLToPath(new URL('./index-vuetify.html', import.meta.url)), | ||
}, | ||
define: { 'process.env': {} }, | ||
resolve: { | ||
alias: { | ||
'@': fileURLToPath(new URL('./src', import.meta.url)), | ||
'@poc': fileURLToPath(new URL('./vuetify-poc/src', import.meta.url)), | ||
}, | ||
extensions: [ | ||
'.js', | ||
'.json', | ||
'.jsx', | ||
'.mjs', | ||
'.ts', | ||
'.tsx', | ||
'.vue', | ||
], | ||
}, | ||
build: { | ||
outDir: fileURLToPath(new URL('dist_vuetify_poc', import.meta.url)), | ||
emptyOutDir: true, | ||
rollupOptions: { | ||
input: { | ||
'vuetify-poc': fileURLToPath(new URL('./index-vuetify.html', import.meta.url)), | ||
}, | ||
}, | ||
}, | ||
server: { | ||
port: 3000, | ||
}, | ||
}, | ||
server: { | ||
port: 3000, | ||
} | ||
}) | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.