Giter Site home page Giter Site logo

pl-vue-template-webpack's Introduction

说明

这个repo是https://github.com/teazean/vue-template-webpack的一个fork,因为原来就是forked,没办法,只能新建一个

主要相对于teazean/vue-template-webpack主要做了一下变动

vue-templates/webpack的所有静态资源打包的路径都是相对于/static'的,不符合lego-events的分子目录的发布。因此把打包的路径全部都改成相对于./`相对路径。

  1. 去除所有static打包前缀,打包的目录如下

    // 为什么要js、css都要在第一级。。因为所有css中引用的相对路径的资源都是相对当前css的路径,如果css不在第一级,就会出错。。(蛋疼)
    - dist
        - index.html
        - *.js
        - *.css
        - imgs
            - *.png
            - *.jpg
    
  2. 项目目录static目录,继续copy到dist/static下。

模板说明文档

见:https://github.com/vuejs-templates/webpack

pl-vue-template-webpack's People

Contributors

yyx990803 avatar linusborg avatar chrisvfritz avatar skylinelayla avatar zigomir avatar teazean avatar robwierzbowski avatar sudo-suhas avatar posva avatar myst729 avatar hootlex avatar pksunkara avatar pespantelis avatar limichange avatar danielpe05 avatar bernhardreiter avatar funkylover avatar aladdin-add avatar gucong3000 avatar zzhjerry avatar wayneharris avatar mgenware avatar exarus avatar markussorg avatar jbruni avatar guidobouman avatar grafikart avatar ffloriel avatar eddyerburgh avatar egoist avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.