I have a problem understanding this problem (prepare), which is described here:
I think, with Usman, you can add multiple files only as a file, which would be a good idea during the creation of your JS application. I also understand how to use it, for example:
// Simple creation work grunt.registerTask ('build', ['useminPrepare', 'concat: generated', 'Cssmin: generate', 'ugliite: generate', 'filrev', 'usen']);
Then if you have this code:
The concat function will combine all those files into one file, called the APJs, and it is inserted into a .tmp folder. After this, the fraudulent task file will take APJs from the .tmp folder, leaving all JS in it, and it will be put in the dest-folder.
Let us first prepare usemin, I have another job, which distributes the original html (index.html) too. Now when Eusemen starts working, I have set it to use the distinction folder, and it should replace the old app while referencing the old app. So now, in the html inside the distributed folder, the same part should look something like this:
Is that correct? So now no comment tags should be left? Now I have a problem related to Usman: Status is: At the beginning of HTML, I have bower_components () for the command tag such as inside the Yugin tags:
& lt ;! - build: js js / app.js - & gt; & Lt; Script src = "js / app.js" & gt; & Lt; / Script & gt; & Lt; Script src = "js / controllers / thing-controller.js" & gt; & Lt; / Script & gt; & Lt ;! - Boer: JS - & gt; & Lt; Script src = "bower_components / something / some_bower_component.js" & gt; & Lt; / Script & gt; & Lt; Script src = "bower_components / something / some_bower_component.js" & gt; & Lt; / Script & gt; & Lt; Script src = "bower_components / something / some_bower_component.js" & gt; & Lt; / Script & gt; & Lt ;! - Endbower - & gt; & Lt; Script src = "js / model / cheese-model.js" & gt; & Lt; / Script & gt; & Lt; Script src = "js / views / thing-view.js" & gt; & Lt; / Script & gt; & Lt ;! - endbuild - & gt;
With this setting, everything works just fine until the EuseMen is not working at the end. Usemen's work is no longer able to change the code block. I have identified the reason why this can not happen so that's because I have those archive comments block so if I separate the different tasks, Move in, then remove those boer comment tags, and make the rest of the tag in the build, then everything works fine. I want to sort it out so that all the car Let's run it directly straight away. How can I solve it? If the comment block sees, why do they fail usemin? Can I change the Usmen option to ignore comment blocks? Or should I write rude work, after which the components of the waste are injected, those special comment blocks will be removed and the HTML has been delivered? I have these versions:
"blanket-sliced-install": "~ 0.7.0", "solid-concurrent": "~ 0.4.1", "Garbage-clean" Clean "" ~ 0.5.0 "," blanket-content-coffee ":" ~ 0.7.0 "," content-content-compass ":" ~ 0.6.0 "," content-content-concat ":" ~ 0.3 "~ 0.7.0", "~ 0.7.0", "grunt-contrib-cssmin": "~ 0.5.0", "grunt-contrib-copy": "~ 0.4.1", "grunt-contrib-connect "~ 0.2.0", "Grant-Usmine": "~ 2.0.0",
"" ~ ~ 0.1.3 "," trash-contrib-uglify "Look at this answer:
Just by this I had this problem and all my lines were all line unique
No comments:
Post a Comment