Comments (1)
@everlose Sorry, the reply is late. Is really a great idea to use the plugins you recommend . However, according to my observation it also has some limitations;For example, it seems powerless when I want to inject pwa related functionality. Like this:
<% for (var chunk of webpack.chunks) {
for (var file of chunk.files) {
if (file.match(/\.(js|css)$/)) { %>
<link rel="<%= chunk.initial ? 'preload' : 'prefetch' %>" href="<%= htmlWebpackPlugin.files.publicPath + file %>" as="<%= file.match(/\.css$/)?'style':'script' %>">
<% }}} %>
Or can also found here:https://github.com/nicejade/vue-boilerplate-template/blob/master/index.ejs#L20-L29, Look forward to more of your views .
from vue-boilerplate-template.
Related Issues (15)
- I build it HOT 3
- 提升本地开发体验
- 执行代码分析的时候报错 HOT 1
- 优化模块化引入 Lodash
- npm run jarvis 不能正常启动服务 HOT 1
- 讲elementUi替换成vux之后项目编译不通过 HOT 1
- debugger 无法准确定位 HOT 1
- babel-polyfill HOT 3
- Failed to compile with 24 errors error in ./src/assets/scss/style.scss HOT 1
- /src/views/demo/List.vue 9:2-221 报错 HOT 2
- Dll,DllReferencePlugin和CommonsChunkPlugin同时使用问题 HOT 3
- Upgrade from webpack3 to webpack4
- Optimizate webpack to reduce the package size
- Import Progressive Web Appa Completly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-boilerplate-template.