-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
10 changed files
with
125 additions
and
78 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
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
49 changes: 37 additions & 12 deletions
49
web-app-vue/src/components/categoria/detalhe-categoria.vue
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
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,5 @@ | ||
|
||
export const requiredRule = value => { | ||
if(value) return true | ||
return "Required field" | ||
} |
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,31 +1,18 @@ | ||
import { createApp } from 'vue' | ||
import { createPinia } from 'pinia' | ||
|
||
import '@mdi/font/css/materialdesignicons.css' | ||
import 'vuetify/styles' | ||
import { createVuetify } from 'vuetify' | ||
import { md3 } from 'vuetify/blueprints' | ||
|
||
import { router } from './routes/router' | ||
|
||
import { vuetifyInstance } from "@/ui/vuetifyInstance"; | ||
|
||
import App from './App.vue' | ||
|
||
import './assets/main.css' | ||
|
||
const vuetify = createVuetify({ | ||
theme: { defaultTheme: 'dark' }, | ||
blueprint: md3, | ||
defaults: { | ||
global: { | ||
variant: 'outlined' | ||
} | ||
} | ||
}) | ||
|
||
export const app = createApp(App) | ||
|
||
app.use(createPinia()) | ||
app.use(router) | ||
app.use(vuetify) | ||
app.use(vuetifyInstance) | ||
|
||
app.mount('#app') |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { createVuetify } from "vuetify"; | ||
import { md3 } from "vuetify/blueprints"; | ||
|
||
import colors from 'vuetify/lib/util/colors' | ||
import '@mdi/font/css/materialdesignicons.css' | ||
import 'vuetify/styles' | ||
|
||
export const vuetifyInstance = createVuetify({ | ||
theme: { defaultTheme: 'dark' }, | ||
blueprint: md3, | ||
defaults: { | ||
global: { | ||
|
||
} | ||
} | ||
}) |