Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions packages/template-blank-vue-ts/app/app.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@import "tailwindcss";

ActionBar {
background-color: #65adf1;
Expand Down
12 changes: 3 additions & 9 deletions packages/template-blank-vue-ts/app/app.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
import Vue from 'nativescript-vue'
import Home from './components/Home.vue'

declare let __DEV__: boolean;
import { createApp } from 'nativescript-vue'

// Prints Vue logs when --env.production is *NOT* set while building
Vue.config.silent = !__DEV__
import Home from './components/Home.vue'

new Vue({
render: (h) => h('frame', [h(Home)]),
}).$start()
createApp(Home).start()
12 changes: 2 additions & 10 deletions packages/template-blank-vue-ts/app/components/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
</template>

<script lang="ts">
import Vue from "nativescript-vue";

export default Vue.extend({
export default {
computed: {
message() {
return "Blank {N}-Vue app";
Expand All @@ -25,11 +23,5 @@
console.log('You have tapped the message!')
}
}
});
};
</script>

<style>
/* .info {
font-size: 20;
} */
</style>
16 changes: 5 additions & 11 deletions packages/template-blank-vue-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@nativescript/template-blank-vue-ts",
"main": "app/app.ts",
"displayName": "Blank Vue Typescript",
"version": "9.0.6",
"version": "9.0.7",
"description": "Blank Typescript template for NativeScript apps using Vue.",
"author": "NativeScript Team <oss@nativescript.org>",
"license": "Apache-2.0",
Expand All @@ -25,8 +25,6 @@
"!tools/assets",
"types",
".editorconfig",
"tailwind.config.js",
"webpack.config.js",
"tsconfig.json"
],
"keywords": [
Expand All @@ -44,18 +42,14 @@
],
"dependencies": {
"@nativescript/core": "~9.0.0",
"nativescript-vue": "~2.9.3"
"nativescript-vue": "^3.0.0"
},
"devDependencies": {
"@nativescript/tailwind": "^2.1.0",
"@nativescript/tailwind": "^4.0.0",
"@nativescript/types": "~9.0.0",
"@nativescript/webpack": "~5.0.31",
"@types/node": "^20.0.0",
"nativescript-vue-template-compiler": "~2.9.3",
"tailwindcss": "~3.4.0",
"typescript": "~5.4.0",
"vue": "~2.6.12",
"vue-loader": "^15.11.1",
"vue-template-compiler": "~2.6.12"
"tailwindcss": "^4.0.0",
"typescript": "~5.4.0"
}
}
13 changes: 0 additions & 13 deletions packages/template-blank-vue-ts/tailwind.config.js

This file was deleted.

5 changes: 3 additions & 2 deletions packages/template-blank-vue-ts/types/shims.vue.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
declare module '*.vue' {
import Vue from 'vue'
export default Vue
import { DefineComponent } from 'nativescript-vue'
const component: DefineComponent<{}, {}, any>
export default component
}
38 changes: 0 additions & 38 deletions packages/template-blank-vue-ts/webpack.config.js

This file was deleted.

4 changes: 1 addition & 3 deletions packages/template-blank-vue/app/app.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@import "tailwindcss";

ActionBar {
background-color: #65adf1;
Expand Down
8 changes: 3 additions & 5 deletions packages/template-blank-vue/app/app.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import Vue from 'nativescript-vue'
import { createApp } from 'nativescript-vue'

import Home from './components/Home'
import Home from './components/Home.vue'

new Vue({
render: (h) => h('frame', [h(Home)]),
}).$start()
createApp(Home).start()
16 changes: 5 additions & 11 deletions packages/template-blank-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@nativescript/template-blank-vue",
"main": "app/app.js",
"displayName": "Blank",
"version": "9.0.5",
"version": "9.0.6",
"description": "Blank template for NativeScript apps using Vue.",
"author": "NativeScript Team <oss@nativescript.org>",
"license": "Apache-2.0",
Expand All @@ -24,9 +24,7 @@
"tools",
"!tools/assets",
".editorconfig",
"jsconfig.json",
"tailwind.config.js",
"webpack.config.js"
"jsconfig.json"
],
"keywords": [
"nstudio",
Expand All @@ -43,15 +41,11 @@
],
"dependencies": {
"@nativescript/core": "~9.0.0",
"nativescript-vue": "~2.9.3"
"nativescript-vue": "^3.0.0"
},
"devDependencies": {
"@nativescript/tailwind": "^2.1.0",
"@nativescript/tailwind": "^4.0.0",
"@nativescript/webpack": "~5.0.31",
"nativescript-vue-template-compiler": "~2.9.3",
"tailwindcss": "~3.4.0",
"vue": "~2.6.12",
"vue-loader": "^15.11.1",
"vue-template-compiler": "~2.6.12"
"tailwindcss": "^4.0.0"
}
}
13 changes: 0 additions & 13 deletions packages/template-blank-vue/tailwind.config.js

This file was deleted.

38 changes: 0 additions & 38 deletions packages/template-blank-vue/webpack.config.js

This file was deleted.

43 changes: 0 additions & 43 deletions packages/template-drawer-navigation-vue/app/_app-common.scss

This file was deleted.

4 changes: 0 additions & 4 deletions packages/template-drawer-navigation-vue/app/app.android.scss

This file was deleted.

21 changes: 21 additions & 0 deletions packages/template-drawer-navigation-vue/app/app.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
@import "tailwindcss";

ActionBar {
background-color: #65adf1;
color: white;
}

.fas {
font-family: 'Font Awesome 5 Free', 'fa-solid-900';
font-weight: 900;
}

.far {
font-family: 'Font Awesome 5 Free', 'fa-regular-400';
font-weight: 400;
}

.fab {
font-family: 'Font Awesome 5 Brands', 'fa-brands-400';
font-weight: 400;
}
4 changes: 0 additions & 4 deletions packages/template-drawer-navigation-vue/app/app.ios.scss

This file was deleted.

16 changes: 6 additions & 10 deletions packages/template-drawer-navigation-vue/app/app.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
import Vue from 'nativescript-vue'
import RadSideDrawer from 'nativescript-ui-sidedrawer/vue'
import { createApp } from 'nativescript-vue'
import DrawerPlugin from '@nativescript-community/ui-drawer/vue3'

Vue.use(RadSideDrawer)
import App from './components/App.vue'

import App from './components/App'

Vue.config.silent = !__DEV__

new Vue({
render: h => h(App)
}).$start()
const app = createApp(App)
app.use(DrawerPlugin)
app.start()
Loading
Loading