diff --git a/generator/index.js b/generator/index.js index 029df3e..61a0fac 100644 --- a/generator/index.js +++ b/generator/index.js @@ -868,6 +868,9 @@ const renderDirectoryStructure = (module.exports.renderDirectoryStructure = asyn case 'sass': if (rawPath.slice(-5) == '.scss' || rawPath.slice(-5) == '.sass') files.push(rawPath); break; + case 'dart-sass': + if (rawPath.slice(-5) == '.scss' || rawPath.slice(-5) == '.sass') files.push(rawPath); + break; case 'less': if (rawPath.slice(-5) == '.less') files.push(rawPath); break; diff --git a/generator/templates/nvw/src/App.vue b/generator/templates/nvw/src/App.vue index 2243004..c0cb625 100644 --- a/generator/templates/nvw/src/App.vue +++ b/generator/templates/nvw/src/App.vue @@ -128,16 +128,9 @@ <%_ } _%> <%_ if (rootOptions.cssPreprocessor) { _%> -<%_ if (rootOptions.cssPreprocessor == 'sass' || rootOptions.cssPreprocessor == 'scss') { _%> -<%# -------------------- IS Using scss OR sass -------------------- -%> -<%- rootOptions.cssPreprocessor - ? ` -<%- rootOptions.cssPreprocessor - ? ` <%_ } else if (rootOptions.cssPreprocessor == 'stylus') { _%> diff --git a/generator/templates/nvw/src/components/HelloWorld.android.vue b/generator/templates/nvw/src/components/HelloWorld.android.vue index 9b87087..9f4a274 100644 --- a/generator/templates/nvw/src/components/HelloWorld.android.vue +++ b/generator/templates/nvw/src/components/HelloWorld.android.vue @@ -31,16 +31,9 @@ <%_ } _%> <%_ if (rootOptions.cssPreprocessor) { _%> -<%_ if (rootOptions.cssPreprocessor == 'sass' || rootOptions.cssPreprocessor == 'scss') { _%> -<%# -------------------- IS Using scss OR sass -------------------- -%> -<%- rootOptions.cssPreprocessor - ? ` + -<%- rootOptions.cssPreprocessor - ? ` <%_ } else if (rootOptions.cssPreprocessor == 'stylus') { _%> diff --git a/generator/templates/simple/src/components/HelloWorld.android.vue b/generator/templates/simple/src/components/HelloWorld.android.vue index 99d38c3..d3a74e1 100644 --- a/generator/templates/simple/src/components/HelloWorld.android.vue +++ b/generator/templates/simple/src/components/HelloWorld.android.vue @@ -31,16 +31,9 @@ <%_ } _%> <%_ if (rootOptions.cssPreprocessor) { _%> -<%_ if (rootOptions.cssPreprocessor == 'sass' || rootOptions.cssPreprocessor == 'scss') { _%> -<%# -------------------- IS Using scss OR sass -------------------- -%> -<%- rootOptions.cssPreprocessor - ? ` diff --git a/generator/templates/simple/src/views/Home.vue b/generator/templates/simple/src/views/Home.vue index ffb1c4e..7dcaa9b 100644 --- a/generator/templates/simple/src/views/Home.vue +++ b/generator/templates/simple/src/views/Home.vue @@ -64,16 +64,9 @@ <%_ } _%> <%_ if (rootOptions.cssPreprocessor) { _%> -<%_ if (rootOptions.cssPreprocessor == 'sass' || rootOptions.cssPreprocessor == 'scss') { _%> -<%# -------------------- IS Using scss OR sass -------------------- -%> -<%- rootOptions.cssPreprocessor - ? ` -<%- rootOptions.cssPreprocessor - ? ` <%_ } else if (rootOptions.cssPreprocessor == 'stylus') { _%> <%# -------------------- IS Using stylus -------------------- -%> diff --git a/package-lock.json b/package-lock.json index 13b7e0c..d2ec39e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "vue-cli-plugin-nativescript-vue", - "version": "0.0.8", + "version": "0.0.11", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index d2e6244..1c58976 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-cli-plugin-nativescript-vue", - "version": "0.0.11", + "version": "0.0.12", "description": "A vue cli 3.x plugin for NativeScript-Vue", "main": "index.js", "files": [ @@ -8,7 +8,9 @@ "lib", "generator", "LICENSE", - "prompts.js" + "prompts.js", + "ui.js", + "logo.png" ], "scripts": { "test": "echo \"Error: no test specified\" && exit 1"