New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@merkaly/components

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@merkaly/components

> Attach this to the Vue project. I developed it with reference to Vite's build tool. > This is different from the previous one, and the output is several times different. Amazing, Vue's performance jumps several times!!! Take it, and install it right awa

latest
npmnpm
Version
0.0.6-13
Version published
Maintainers
1
Created
Source

Vite + Vue 2 + TypeScript

Attach this to the Vue project. I developed it with reference to Vite's build tool. This is different from the previous one, and the output is several times different. Amazing, Vue's performance jumps several times!!! Take it, and install it right away and try it out.

-- Tem Ray

Description

This template is for using Vue2 with TypeScript in Vite. Includes vue-router and Vuex, vue-property-decorator.

In addition, ESLint, Stylelint, and Prettier are also included and are set to be executed automatically at runtime and commit. (Since these settings are set strictly, please relax yourself.)

Commands

CommandDescription
devStart devserver.
cleanClear devserver cache.
buildBuild for production
build:cleanClear production build files.
lintRun ESLint and prettier.
lint:styleRun Stylelint.
lint:markupCheck vue markup.
previewRun the program generated by the production build.

Migrate from VueCli

It also works when migrating from VueCLI.

However, when importing a stylesheet with @import, it cannot be specified from the library directory. Must be specified from ~node_modules/.

Also, if you used the .env file in the previous environment, you need to change the calling part from process.env to import.meta.env after installing vite-plugin-env-compatible separately.

Troubleshooting

When adding or deleting files, an error may occur and even if the error is corrected, it may not be reflected in devserver. In that case, stop devserver and delete all the files in the node_modules/.vite directory. You can also run it with the clean command.

FAQs

Package last updated on 01 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts