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

lhviewtest

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lhviewtest

A Vue.js project

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

vue-simplecli-lib

usage

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# 发npm包准备
npm run lib 

todo

  • 打包之后的js文件自动注入html
  • 发布部署到线上相关的打包
  • 自动生成发布的版本号
  • 打包时拆分css出来
  • 根据webpack官网教程搭建项目
  • 从0搭建vue-cli项目学webpack
  • 思路:vue-cli2配置eslint和ts的开发环境;升级到vue-cli3
  • 思路:先vue-cli3搭建好组件库发布环境;再引入ts

got

  • webpack中的output选项不要设置library字段,同时新增libraryExport: "default",即可直接通过let lib = require('lib')的方式引入打包生成的js文件,否则会包裹一层对象在外面。

question

  • vue-cli的配置解析
  • 从零搭建vue-cli

FAQs

Package last updated on 21 Dec 2018

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