0.1.8 • Published 5 years ago

vue-cli-plugin-nativescript-vue-preset v0.1.8

Weekly downloads
316
License
MIT
Repository
github
Last release
5 years ago

vue add nativescript-vue-preset

Fixes most errors caused by installing <nativescript-vue> plugin.

BEFORE installing: create project using vue create --preset vpiskunov/preset-vue-ns {your-project-name}

IMPORTANT: run \"vue invoke nativescript-vue-preset\" twice after adding.

What does it do:

  • ✅ Adds support for platform-tagged CSS lines: e.g. adding [web] will keep that line for web, but not in native. Multiple tags per line can be added e.g. [web][android] will only keep that line in web & android, but will remove it for iOS builds etc.
    • Supported platform tags are:
      * web: ['web', 'w', 'cross']
      * ios: ['native', 'n', 'ios', 'apple', 'cross']
      * android: ['native', 'n', 'android', 'cross']
  • ✅ Adds .eslint.js, with support for fixed module-require resolving + disables unreasonable rules (you can always edit .eslintrc.js to suit your style)
  • ✅ Replaces ~/ tilde with @/at paths: fixes Unable to resolve path to module import/no-unresolved & import/extensions
0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago