@nativescript/template-blank-vue 9.0.5 → 9.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/app.css +1 -3
- package/app/app.js +3 -5
- package/package.json +5 -11
- package/tailwind.config.js +0 -13
- package/webpack.config.js +0 -38
package/app/app.css
CHANGED
package/app/app.js
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@nativescript/template-blank-vue",
|
|
3
3
|
"main": "app/app.js",
|
|
4
4
|
"displayName": "Blank",
|
|
5
|
-
"version": "9.0.
|
|
5
|
+
"version": "9.0.6",
|
|
6
6
|
"description": "Blank template for NativeScript apps using Vue.",
|
|
7
7
|
"author": "NativeScript Team <oss@nativescript.org>",
|
|
8
8
|
"license": "Apache-2.0",
|
|
@@ -24,9 +24,7 @@
|
|
|
24
24
|
"tools",
|
|
25
25
|
"!tools/assets",
|
|
26
26
|
".editorconfig",
|
|
27
|
-
"jsconfig.json"
|
|
28
|
-
"tailwind.config.js",
|
|
29
|
-
"webpack.config.js"
|
|
27
|
+
"jsconfig.json"
|
|
30
28
|
],
|
|
31
29
|
"keywords": [
|
|
32
30
|
"nstudio",
|
|
@@ -43,15 +41,11 @@
|
|
|
43
41
|
],
|
|
44
42
|
"dependencies": {
|
|
45
43
|
"@nativescript/core": "~9.0.0",
|
|
46
|
-
"nativescript-vue": "
|
|
44
|
+
"nativescript-vue": "^3.0.0"
|
|
47
45
|
},
|
|
48
46
|
"devDependencies": {
|
|
49
|
-
"@nativescript/tailwind": "^
|
|
47
|
+
"@nativescript/tailwind": "^4.0.0",
|
|
50
48
|
"@nativescript/webpack": "~5.0.31",
|
|
51
|
-
"
|
|
52
|
-
"tailwindcss": "~3.4.0",
|
|
53
|
-
"vue": "~2.6.12",
|
|
54
|
-
"vue-loader": "^15.11.1",
|
|
55
|
-
"vue-template-compiler": "~2.6.12"
|
|
49
|
+
"tailwindcss": "^4.0.0"
|
|
56
50
|
}
|
|
57
51
|
}
|
package/tailwind.config.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/** @type {import('tailwindcss').Config} */
|
|
2
|
-
module.exports = {
|
|
3
|
-
content: ['./app/**/*.{css,html,vue,ts,tsx}'],
|
|
4
|
-
// use the .ns-dark class to control dark mode (applied by NativeScript) - since 'media' (default) is not supported.
|
|
5
|
-
darkMode: ['class', '.ns-dark'],
|
|
6
|
-
theme: {
|
|
7
|
-
extend: {},
|
|
8
|
-
},
|
|
9
|
-
plugins: [],
|
|
10
|
-
corePlugins: {
|
|
11
|
-
preflight: false, // disables browser-specific resets
|
|
12
|
-
},
|
|
13
|
-
}
|
package/webpack.config.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
const webpack = require("@nativescript/webpack");
|
|
2
|
-
const path = require("path");
|
|
3
|
-
const VueLoaderPlugin = require("vue-loader/lib/plugin");
|
|
4
|
-
|
|
5
|
-
module.exports = (env) => {
|
|
6
|
-
webpack.init(env);
|
|
7
|
-
|
|
8
|
-
// Learn how to customize:
|
|
9
|
-
// https://docs.nativescript.org/webpack
|
|
10
|
-
|
|
11
|
-
webpack.chainWebpack((config) => {
|
|
12
|
-
// Use vue-loader@15 for Vue 2
|
|
13
|
-
config.resolve.alias.set(
|
|
14
|
-
"vue-loader",
|
|
15
|
-
path.resolve(__dirname, "node_modules/vue-loader")
|
|
16
|
-
);
|
|
17
|
-
|
|
18
|
-
// Remove the default VueLoaderPlugin (v17) and add v15
|
|
19
|
-
config.plugins.delete("VueLoaderPlugin");
|
|
20
|
-
config.plugin("VueLoaderPlugin").use(VueLoaderPlugin);
|
|
21
|
-
|
|
22
|
-
// Configure vue-loader for Vue 2
|
|
23
|
-
config.module
|
|
24
|
-
.rule("vue")
|
|
25
|
-
.use("vue-loader")
|
|
26
|
-
.loader(require.resolve("vue-loader"))
|
|
27
|
-
.tap((options) => ({
|
|
28
|
-
...options,
|
|
29
|
-
compiler: require("vue-template-compiler"),
|
|
30
|
-
compilerOptions: {
|
|
31
|
-
whitespace: 'condense',
|
|
32
|
-
preserveWhitespace: false,
|
|
33
|
-
},
|
|
34
|
-
}));
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
return webpack.resolveConfig();
|
|
38
|
-
};
|