screen_rotation
Copied to Clipboard
<!DOCTYPE html> <html> <head> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vuetify@3.1.11/dist/vuetify.min.css"> </head> <body> <div id="app"> <!-- Create Vuetify App --> <v-app> <v-main> <v-container> <h3>Vuetify v-textarea readonly</h3> <v-textarea v-model="text" :readonly="isReadOnly"></v-textarea> </v-container> </v-main> </v-app> </div> <!-- Load Vue.js and Vuetify script --> <script src="https://unpkg.com/vue@3.2.21/dist/vue.global.js"></script> <script src="https://cdn.jsdelivr.net/npm/vuetify@3.1.11/dist/vuetify.min.js"></script> <!-- Create Vue.js and Vuetify app --> <script type="module"> const { createApp } = Vue const { createVuetify } = Vuetify const vuetify = createVuetify() const app = createApp({ data() { return { text: "This is some text", isReadOnly: true, } }, }).use(vuetify).mount('#app'); // Mount the app to the #app element </script> </body> </html>