-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0be8b2b
commit bd663b5
Showing
13 changed files
with
135 additions
and
65 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,4 +1 @@ | ||
|
||
const lintConfig = require('../.eslintrc.cjs') | ||
|
||
module.exports = lintConfig | ||
module.exports = require('../.eslintrc.cjs') |
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,5 +1,6 @@ | ||
{ | ||
"name": "do-not-publish-this-folder", | ||
"version": "1.0.0", | ||
"private": true | ||
"private": true, | ||
"type": "module" | ||
} |
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 was deleted.
Oops, something went wrong.
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,4 +1,4 @@ | ||
export default process.env.DEV | ||
export default import.meta.env.DEV | ||
? { | ||
error: { | ||
name: 'ReferenceError', | ||
|
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { createApp } from 'vue' | ||
import { Quasar } from 'quasar' | ||
|
||
// Import icon libraries | ||
import '@quasar/extras/roboto-font/roboto-font.css' | ||
import '@quasar/extras/material-icons/material-icons.css' | ||
|
||
// Import Quasar css | ||
import 'quasar/src/css/index.sass' | ||
|
||
// Assumes your root component is App.vue | ||
// and placed in same folder as main.js | ||
import App from './App.vue' | ||
|
||
const myApp = createApp(App) | ||
|
||
myApp.use(Quasar) | ||
myApp.mount('#app') |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
import { fileURLToPath } from 'node:url' | ||
import { join } from 'node:path' | ||
import { defineConfig } from 'vite' | ||
import vue from '@vitejs/plugin-vue' | ||
import vitePluginChecker from 'vite-plugin-checker' | ||
import { quasar, transformAssetUrls } from '@quasar/vite-plugin' | ||
|
||
import singleFile from './build/vite.plugin.single-file.js' | ||
|
||
const rootFolder = fileURLToPath(new URL('.', import.meta.url)) | ||
const resolve = _path => join(rootFolder, _path) | ||
|
||
export default defineConfig(() => { | ||
return { | ||
plugins: [ | ||
vue({ | ||
template: { transformAssetUrls } | ||
}), | ||
|
||
quasar({ | ||
sassVariables: 'src/quasar.variables.sass', | ||
autoImportComponentCase: 'combined' | ||
}), | ||
|
||
vitePluginChecker({ | ||
root: resolve('../'), | ||
eslint: { | ||
lintCommand: 'eslint --report-unused-disable-directives "./**/*.{js,mjs,cjs,vue}"' | ||
} | ||
}), | ||
|
||
singleFile() | ||
], | ||
|
||
resolve: { | ||
alias: { | ||
src: resolve('src'), | ||
quasar: resolve('../../../ui') | ||
} | ||
}, | ||
|
||
build: { | ||
outDir: 'dist' | ||
}, | ||
|
||
server: { | ||
open: '/' | ||
} | ||
} | ||
}) |