vue.js-starter-templateA starter template for Vue.js projects

联合创作 · 2023-09-23 00:15

Vue.js starter template



A bare-bones starter-template to get your hands dirty with awesome Vue.js library.


Built with:



Getting started



  1. Be sure you have Yarn installed globally.

  2. Clone the repo & run yarn from the project root


Single File Components


See instructions for example usage of single file components.


Available commands



yarn start


Runs the Webpack module-bundler, starts watching for changes & launches the BrowserSync server to http://localhost:3000 (it's possible to change the port from package.json config-section). Uses Webpack Dashboard


Note! Webpack handles all the reloading stuff while BrowserSync just proxies the default webpack-port (8080) giving the possibility to connect to dev-server from multiple devices:



yarn lint:js


Lints javascript-files inside /src directory



yarn build


Runs the webpack module-bundler with production-settings (compress etc.) and builds the project to /build directory.


Demo


Navigate to https://vue-starter.ville.io/ and see the awesomeness IRL :bowtie:

浏览 17
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报