2.2.8 • Published 2 years ago

create-vite-native-app v2.2.8

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Create Vite application for pug projects with native js

This is a utility package used to automate Vite configuration with npm command. It uses a custom Vite project template.

For more details check out the GitHub repo

Usage

Creating new project

You can simply run a npx command:

npx create-vite-native-app

This command will create a preconfigured vite project from this GitHub repo

Creating new component

To create a new component in the current project run

npx create-vite-native-app --component

This command will create a new folder under /src/components/ with a specified name. It will also prompt you with a couple of options:

  • you can choose to include js files and style files
  • you can choose what file types to use for your styles (css / scss / sass)

If you've chosen to create files for styles and javascript it will try to import them in /utils/main.scss and /utils/main.js accordingly

Creating new page

To create a new page in the current project run

npx create-vite-native-app --page

This command will create a new folder under /src/pages. It will also let you configure your page similar to a component command. Note that js and style files will not be imported automatically unlike components' styles and js.

2.2.1

2 years ago

2.2.3

2 years ago

2.2.2

2 years ago

2.2.5

2 years ago

2.1.6

2 years ago

2.2.4

2 years ago

2.2.7

2 years ago

2.1.8

2 years ago

2.2.6

2 years ago

2.1.7

2 years ago

2.2.8

2 years ago

2.1.9

2 years ago

2.1.16

2 years ago

2.1.14

2 years ago

2.1.15

2 years ago

2.1.12

2 years ago

2.1.13

2 years ago

2.1.10

2 years ago

2.1.11

2 years ago

2.1.5

2 years ago

2.1.4

2 years ago

2.1.3

2 years ago

2.1.2

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago

2.0.20

2 years ago

2.0.19

2 years ago

2.0.17

2 years ago

2.0.16

2 years ago

2.0.15

2 years ago

2.0.14

2 years ago

2.0.13

2 years ago

2.0.12

2 years ago

2.0.11

2 years ago

2.0.10

2 years ago

2.0.9

2 years ago

2.0.7

2 years ago

2.0.6

2 years ago

2.0.5

2 years ago

2.0.4

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.0

2 years ago