mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-18 22:10:41 -07:00
refactor: import rollup
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title></title>
|
||||
<title>liquidjs for the browser</title>
|
||||
<script src="../../dist/liquid.js"></script>
|
||||
</head>
|
||||
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
const Liquid = require('../..')
|
||||
// const Liquid = require('../..')
|
||||
const Liquid = require('../../dist/liquid.common.js')
|
||||
|
||||
let engine = new Liquid({
|
||||
const engine = new Liquid({
|
||||
root: __dirname,
|
||||
extname: '.liquid'
|
||||
})
|
||||
let ctx = {
|
||||
const ctx = {
|
||||
todos: ['fork and clone', 'make it better', 'make a pull request'],
|
||||
title: 'Welcome to liquidjs!'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user