一个没有框架的简单webpack启动器(如Vue,React,Angular等)

网友投稿 1014 2022-10-31

一个没有框架的简单webpack启动器(如Vue,React,Angular等)

一个没有框架的简单webpack启动器(如Vue,React,Angular等)

Webpack Simple Starter

A simple webpack starter without framework (Like Vue, React, Angular, etc.). This project is inspired from vue-cli webpack project

Getting Started

First, install the modules that the project needs.

$ npm install

Now, let's start developing.

$ npm run dev

Finally development process done. Let's export for production.

$ npm run build

That's it!. Files are ready to under the dist/ directory for production.

What's in this project?

Directories

There are four main directories in project. This directories like below:

build/ # Webpack configurationsconfig/ # Dev and prod configurationssrc/ # Project development files|_ scripts/ # Javascript files|_ styles/ # Style files (scss)|_ views/ # HTML templates (pug)static/ # Static files (Like fonts, images)

Used Frameworks

Bootstrap and depended javascript frameworks like jquery. (Client)Babel.js for ES6 compileSass for CSSPug for HTML template

Also, this project is supporting hot reload and include eslint

License

This project is under the MIT license.

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:SweetyGo:使用Golang编写的简单,轻量和快速的Web框架
下一篇:SwiftyRegex:是一个采用Swift开发的正则表达式微框架
相关文章

 发表评论

暂时没有评论,来抢沙发吧~