Prism.js Sample

TypeScript

        import Vue from 'vue';
import Component from 'vue-class-component';

import * as Template from './HelloWorldComponent.html';

/**
* class HelloWorldComponent
*/
@Template
@Component
export default class HelloWorldComponent extends Vue {
    public words: string[] = [
        'Hello',
        'World'
    ];

    public get messge(): string {
        return this.words.join(' ');
    }
}
    

HTML

        

Hello World

;

{{ message }}

;

CSS

        section > h1.page-header {
    background-color: #7f7f7f;
}
    

PHP

        <?php

// Show all information, defaults to INFO_ALL
phpinfo();

// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);

?>